Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added linear scaling test to Hexbin marginals#21339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
timhoffm merged 1 commit intomatplotlib:mainfromj-bowhay:test-hexbin-linear
Jul 12, 2022

Conversation

j-bowhay
Copy link
Contributor

PR Summary

Added test for hexbin marginals that uses a linear scale.Closes#21165

PR Checklist

  • Has pytest style unit tests (andpytest passes).
  • IsFlake 8 compliant (runflake8 on changed files to check).
  • [N/A] New features are documented, with examples if plot related.
  • [N/A] Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).
  • Conforms to Matplotlib style conventions (installflake8-docstrings and runflake8 --docstring-convention=all).
  • [N/A] New features have an entry indoc/users/next_whats_new/ (follow instructions in README.rst there).
  • [N/A] API changes documented indoc/api/next_api_changes/ (follow instructions in README.rst there).

@j-bowhayj-bowhay changed the titleTest hexbin linearAdded linear scaling test to Hexbin marginalsOct 11, 2021
Copy link

@github-actionsgithub-actionsbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a while, please feel free to ping@matplotlib/developers or anyone who has commented on the PR. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join uson gitter for real-time discussion.

For details on testing, writing docs, and our review process, please seethe developer guide

We strive to be a welcoming and open project. Please follow ourCode of Conduct.

Copy link
Member

@jklymakjklymak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Seems good, but snapping should be default and you will need to change the image.

@j-bowhay
Copy link
ContributorAuthor

Seems good, but snapping should be default and you will need to change the image.

Have changed snapping to default and updated the image

Copy link
Member

@jklymakjklymak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Sorry, one more request - we try and reduce the number of tests with fonts in them (when we un-pin font tools it changes a bunch of images). I know the other test has fonts, but can this one not have them? i.e.remove_text=True in the test parameters?

@jklymak
Copy link
Member

If anyone merges this, please squash merge (or@j-bowhay you can rebase and squash the commits, and force push back here (make a back up branch first if you aren't used to doing this!)). This is particularly important to prevent the stray image from being in the repo. Thanks for your patience with the process!.

timhoffm
timhoffm previously requested changesOct 13, 2021
Copy link
Member

@timhoffmtimhoffm left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I block this because there is a bug with the gridsize parameter#21349 and we want that fixed before adding a reference image.

Anybody can dismiss after#21349 is fixed and a new reference image is push (ideally with a squash) - Otherwise, whoever discards this should squash-merge the PR.

@jklymak
Copy link
Member

lets move to draft until we sort out.@j-bowhay please ping us if the issue with hex bin does not get resolved soon.

j-bowhay reacted with thumbs up emoji

@tacaswell
Copy link
Member

This PR is affected by a re-writing of our history to remove a large number of accidentally committed filessee discourse for details.

To recover this PR it will need be rebased onto the new default branch (main). There are several ways to accomplish this, but we recommend (assuming that you call the matplotlib/matplotlib remote"upstream"

git remote updategit checkout maingit merge --ff-only upstream/maingit checkout YOUR_BRANCHgit rebase --onto=main upstream/old_master# git rebase -i main # if you prefergit push --force-with-lease# assuming you are tracking your branch

If you do not feel comfortable doing this or need any help please reach out to any of the Matplotlib developers. We can either help you with the process or do it for you.

Thank you for your contributions to Matplotlib and sorry for the inconvenience.

@QuLogicQuLogic mentioned this pull requestNov 12, 2021
7 tasks
dstansby
dstansby previously requested changesMar 17, 2022
Copy link
Member

@dstansbydstansby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This definitely needs updating or adopting in it's current state - see the above comment!

@llricci
Copy link
Contributor

Hey@j-bowhay, are you still working in this PR? Because it is been inactive for a long time. Hope I am not disturbing you.

@j-bowhay
Copy link
ContributorAuthor

Hi@LucasRicci this was blocked on#21349 by@timhoffm so I have not made the requested changes yet. I see there has been no progress on this issue yet. I am happy to finish the pr once the issue is fixed or if it is decided to add these test with the bug present and then update later.

@llricci
Copy link
Contributor

@j-bowhay Oh I see, thanks

@j-bowhayj-bowhay marked this pull request as ready for reviewJuly 7, 2022 21:05
@j-bowhay
Copy link
ContributorAuthor

@timhoffm I am correct in thinking this is no longer blocked by#21349? I have sorted out the git stuff and resolved the comments

@timhoffmtimhoffm dismissed stale reviews fromdstansby and themselfJuly 12, 2022 21:47

Not blocked by#21349 anymore because, that turned out to be not a bug.

@timhoffmtimhoffm merged commit8e177ba intomatplotlib:mainJul 12, 2022
@timhoffm
Copy link
Member

@j-bowhay thanks for the ping, and thanks for the PR!

@QuLogicQuLogic added this to thev3.6.0 milestoneJul 13, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] left review comments

@jklymakjklymakjklymak approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

@dstansbydstansbyAwaiting requested review from dstansby

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v3.6.0
Development

Successfully merging this pull request may close these issues.

Hexbin marginals need a test for linear scaling
7 participants
@j-bowhay@jklymak@tacaswell@llricci@timhoffm@dstansby@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp