-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Setting layout.xaxis.tickmode to 'array' explicitly does not work on date and log axes #4302
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
Comments
Thanks for reporting. The current logic is pretty clear: plotly.js/src/plots/cartesian/tick_value_defaults.js Lines 16 to 24 in c8a9f8a
I'm not sure why |
Commit 355fb09 changed a few things and may be the culprit. |
and then there's this test: plotly.js/test/jasmine/tests/axes_test.js Lines 1538 to 1542 in c8a9f8a
clearly 🔒 ing down the reported behavior 🤔 |
Fixed via #4851. |
Setting layout.xaxis.tickmode to array explicitly does not work at all. If set to array all settings regarding tickvals and ticktext will be ignored. tickvals and ticktext only have an effect if tickmode is not set.
See https://jsfiddle.net/xt6udrkh/2/
The text was updated successfully, but these errors were encountered: