-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
fix minorticks
#4528
fix minorticks
#4528
Conversation
c3a80fa
to
9d474a8
Compare
8484d2b
to
096bd97
Compare
Codecov ReportBase: 91.05% // Head: 91.08% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #4528 +/- ##
==========================================
+ Coverage 91.05% 91.08% +0.02%
==========================================
Files 40 40
Lines 7673 7683 +10
==========================================
+ Hits 6987 6998 +11
+ Misses 686 685 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@BeastyBlacksmith, ok ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As much as I agree, but we can't change semantics of an attribute in a minor release
Here are my arguments for this to go in now as a bug fix (and not breaking):
|
minorticks
to not be the number of minor intervalsminorticks
to not be the number of minor intervals
Your example in #4508 (comment) showed that it does what it says apart from edge cases which could very well be handled differently (which would indeed be a bugfix)
Thats not how SemVer works. That we don't have tests for something does not mean you can't break it. On the contrary, it increases the probability that you break something accidentally.
That might be and bringing the implementation to match the documentation would be the way to go here.
That we don't have a timeline doesn't mean it won't ever happen. I'm open to talk about making a plan, but we also need to collect things that should go in a breaking release. |
This makes absolutely no sense. I've reverted I've updated the julia code in #4528 (comment). |
minorticks
to not be the number of minor intervalsminorticks
Fix #4508.
minorticks
is very confusing since the name suggests the number of ticks, not the number of intervals which isn° ticks + 1
).==> refused as of "breaking".
As @ryofurue mentioned, the current behavior is very much inconsistent.==> apparently, being inconsistent is acceptable.
This PR fixes these problems:
I've modified the
lens
example to take 1 minor tick (and hence regress on test examples), sinceminorticks
wasn't tested before with an integer argument.PyPlot
has been adjusted sinceAutoMinorLocator
uses the number of intervals.