Skip to content

Plotly Offline 3D Surface Plots: Customize the x & y tickvals/ticktext AND ensure readability of the axis labels #1533

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

Closed
jhthompson12 opened this issue Apr 22, 2019 · 3 comments

Comments

@jhthompson12
Copy link

Hello Plotly People,

Firstly, thank you very much for developing this incredible tool. You are all amazing. And apologies in advance if I did not submit this properly, this is my first time ever submitting a feature request.

This post is in response to a question I recently asked in detail on the Plotly forum found here.

In essence, when creating a surface plot, I would like to specify the values that are presented on the x and y axes AND set the maximum number of my custom axis tick mark values that will be displayed. At the moment, I can set the custom values with tickvals/ticktext, but the axis shows all of the ticktext that I provide. The nticks parameter almost provides the functionality that I'm looking for, but it doesn't seem to work with custom axis markers (nticks can only be used when tickmode = ‘auto’)

The following image shows how with a lot of tickvals/ticktext, the axis becomes unreadable.

Thank you for looking into this and please let me know if I need to provide any more information.

-Joe

@jonmmease
Copy link
Contributor

Hi @jhthompson12, that for taking the time to write this up. Could you move this issue to the Plotly.js repository (https://github.com/plotly/plotly.js/issues)? And changes in this behavior would have to flow through Plotly.js and then would be automatically available in plotly.py. Thanks!

@jhthompson12
Copy link
Author

Thanks for the guidance, @jonmmease. Just moved it over to plotly.js. I will close this issue in plotly.py out.

@jhthompson12
Copy link
Author

This issue has been moved over to plotly.js as issue 3822

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants