-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
mpl_to_plotly: map enumerated tick labels to Plotly tickvals/ticktext #5349
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
Conversation
gvwilson
commented
Sep 23, 2025
thanks @willtryagain - I'll try to find someone to review this in the next work cycle.
willtryagain
commented
Oct 6, 2025
Hi @emilykl ,
This change maps enumerated tick labels to Plotly tickvals/ticktext in mpltools.prep_ticks. I realize it could be viewed as risky if applied too broadly (e.g., forcing array-mode on numeric axes). I only tested locally on a simple script.
Would using a more tighter check and adding tests make it easier to review? Let me know if you have any suggestions.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
This fixes #5059 preserving axis labels while converting matplotlib plots.
Code PR
.