Addresses #8045 (set_yscale("log") inconsistent with semilogy())#8056
Closed
jcalbert wants to merge 1 commit intomatplotlib:masterfrom
Closed
Addresses #8045 (set_yscale("log") inconsistent with semilogy())#8056jcalbert wants to merge 1 commit intomatplotlib:masterfrom
jcalbert wants to merge 1 commit intomatplotlib:masterfrom
Conversation
clipping behavior as plt.semilogy(), plt.semilogx() plt.loglog() when handing non-positive data.
anntzer
reviewed
Feb 11, 2017
| @@ -2943,7 +2943,7 @@ def set_xscale(self, value, **kwargs): | |||
| # If the scale is being set to log, clip nonposx to prevent headaches | |||
Contributor
There was a problem hiding this comment.
update the comment too? (below as well)
Member
Contributor
Author
Contributor
|
Most old tests still use the classic style, where the plots use "round" numbers as limits, so that's probably why they still passed. Updating the test images should make this good. |
Member
|
This ended up being superseeded by #8836, thanks for the PR though! |
This file contains hidden or 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
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.


See: #8045 "setting yscale to log, after drawing a plot with values equal to zero, results in incorrect handling of zero values "