-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Bug fix for plotting minor ticks #3557
Comments
Would you provide a minimal script that illustrates the bug, please? |
In this case the highest minor tick on the x axis is missing. |
I'm happy to open a PR adding the fix in the original post - let me know if I should do that. |
Please do so, but I would re-write it as tmax = ((vmax - t0) // minorstep) + 1) * minorstep Please branch of off the 1.4.x and make the PR against the same (as this is a bug-fix not a new feature). |
Should also add a test, and make sure the same problem doesn't happen on On Wed, Sep 24, 2014 at 8:48 AM, Thomas A Caswell notifications@github.com
|
closed by #3612 |
When using
AutoMinorlocator
the rightmost minor tick isn't drawn sometimes (in Matplotlib 1.4). Changing this line inclass AutoMinorLocator(Locator)
(inticker.py
) from:to
fixes this. I don't completely understand the code though, so this may not be the best fix.
The text was updated successfully, but these errors were encountered: