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

prevent tick labels from overlapping #28

Open
cpankow opened this issue Sep 28, 2016 · 0 comments
Open

prevent tick labels from overlapping #28

cpankow opened this issue Sep 28, 2016 · 0 comments

Comments

@cpankow
Copy link
Contributor

cpankow commented Sep 28, 2016

Affected: 1dcdfs.py, 2dcdfs.py

Because the subplots in the current plots are all very tightly bound together, the tick labels (particularly, the first and last) tend to overlap. I've fixed this for most cases. However, this is a bit of a hack since I've had to call out the specific tick label by index (using -1 doesn't work because the number of ticks is only determined at render-time) and it doesn't work at all for the LogFormatter. Even attempting to override it with a ScalarFormatter(from here) seems to undo the exponential formatting and ignore what I ask it to do.

Anyone wanna take a stab at this? @eachase? It has to be fixed before we submit to the journal.

Thanks!

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

1 participant