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
Infinite Loop: LogLocator Colorbar & update_ticks #6057
Comments
The simple 'fix' is that to get what you want with |
I know, but it's easy to forgot that the numticks argument is in fact numticks-1. No one likes to restart their notebooks because of a colorbar hehe . |
Well, the solution I am looking at will just raise instead of infinite loop which is slightly better. |
So I was wondering what would be a preferred solution. I would be guessing that there's a better form of validation for input that would filter out ALL possible unwanted ticker values? I apologize for the pull request since I didn't see that you already added a fix similar to mine. |
I am hesitant to invest too much in validation of this sort of thing right now. On of the mid-term (by summer) goals is to get the entire library traitlet-ified which will provide much greater more flexible validation for one giant upfront cost. |
The code above follow from the pcolor_log.py example.
PS: I would be great if mpl include a LogMaxNLocator just like the linear one.
The text was updated successfully, but these errors were encountered: