-
Notifications
You must be signed in to change notification settings - Fork 32
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
Control max number of ticks #20
Comments
I think this would be relatively easy to implement. I'm experienced with python but not with GitHub so I've been toying around with how to contribute a solution to this. In the mean time, if anyone else wants a work around for modifying the number of ticks, here's an example which sets the max number to 7. You can also modify other parameters of matplotlib's MaxNLocator this way.
Note this only works if the resolution is not daily. If you have daily resolution along the time axis, use
Really it would be great if support is implemented for the set_params() method. This information could be passed onto the MaxNLocator as I am doing here. Then you could make your adjustments using the |
@SciTools/peloton just reviewing this. |
Currently, the max number of ticks is set to 4 (on this line). This is a bit restrictive.
It would be nice if the user had control over the number of ticks, perhaps through the use of some kind of
set_max_ticks
method.The text was updated successfully, but these errors were encountered: