Skip to content
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

Axis labels on very tall graph don't reach end of axis #484

Closed
etpinard opened this issue Apr 28, 2016 · 2 comments · Fixed by #1898
Closed

Axis labels on very tall graph don't reach end of axis #484

etpinard opened this issue Apr 28, 2016 · 2 comments · Fixed by #1898
Labels
bug something broken

Comments

@etpinard
Copy link
Contributor

etpinard commented Apr 28, 2016

Originally posted on plotly/plotly.py#450

See codepen: http://codepen.io/etpinard/pen/WwajEX

I was able to reproduce the issue with a scatter trace as well.

Something must up in the axes code.

@alexcjohnson
Copy link
Collaborator

Oh that's just a failsafe against infinite loops - we could be smarter about that, perhaps just check to see that each label is closer to the end than the previous one was, though I do think we need some sort of upper bound to prevent locking the browser - this can happen easily for example if you specify an explicit tick spacing and then zoom out a lot.

@etpinard
Copy link
Contributor Author

Thanks for the clarification @alexcjohnson 📚

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

Successfully merging a pull request may close this issue.

2 participants