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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plt.box_bug_fix #11409
Merged
Merged
plt.box_bug_fix #11409
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason that codecov is failing as that this code path is not currently tested at all! Could you add a test in fig, ax = plt.subplots()
# assert frame on
plt.box()
# assert frame off
plt.box()
# assert frame on ? |
Thanks for finding that bug! A full test for the box() function would be:
Could you please add that to |
timhoffm
approved these changes
Jun 10, 2018
fredrik-1
force-pushed
the
plt.box_bug_fix
branch
from
June 11, 2018 07:36
dae4851
to
ee512a5
Compare
fredrik-1
force-pushed
the
plt.box_bug_fix
branch
from
June 11, 2018 07:39
ee512a5
to
ca598f2
Compare
Added the test |
dstansby
approved these changes
Jun 11, 2018
There seem to be a conflict, please backport manually |
timhoffm
added a commit
to timhoffm/matplotlib
that referenced
this pull request
Jun 11, 2018
jklymak
added a commit
that referenced
this pull request
Jun 13, 2018
Backport PR #11409: plt.box_bug_fix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I found a small bug in
plt.box
. The toggling didn't work because_string_to_bool
changed None to False before the test for None.edit: I have no idea why
codecov/patch
complain.PR Checklist