-
-
Notifications
You must be signed in to change notification settings - Fork 315
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: reintroduce vmin, vmax into get_ticks; addresses #4441 #4442
base: master
Are you sure you want to change the base?
Conversation
Didn't expect this simple change to break something else; good thing the tests exist! I introduced another fix to address the issue (dont't use showoff on empty array).
|
The ticks are actually filtered later in the Axis code, as some tick algorithms return ticks outside the bounds, so you could either add that filtering to each algorithm, or just in a step after. |
Hm, I stumbled over this while working on a code for a new type of axis (TernaryAxis - for ternary plots), where I didn't have the further steps implemented yet. I took the basic code from PolarAxis, so it might be that the problem is in there as well. I'll check tomorrow. |
Co-authored-by: t-bltg <[email protected]>
Description
Fixes #4441
get_ticks now filters out values that are below vmin and vmax supplied to it.
Type of change
Checklist