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
Option to rotate y-axis tick labels or re-format it based on units #347
Comments
I'd like to second this request. Is there a hack-y way to accomplish this in the meantime? |
@lpbeale93: I have yet to find a way to do it. |
Putting this fix here, as I've just come across this myself... Nonetheless, it would be good have this functionality built in. For version < 2 you could use:
For version > 2 you could use:
|
@ashleythomasbarnes sorry for the stupid question, but where does "coords" come from? I am getting an error "AttributeError: 'AxesSubplot' object has no attribute 'coords'". Thank you!!! |
How many |
I'm generating plots where the WCS from the FITS header is wavelength for the y-axis. Because the spacing is large enough, it would be a better use of space to rotate the tick labels by 90 deg. This is possible in matplotlib but not in aplpy.
If this is not possible, an alternative approach is to provide units and set the units for the tick marks. Thus, instead of having a tick mark labelled as 10000 Ang, it would be 1.0 micron.
Is either of these two options possible?
FYI: I'm using v1.1.1 of aplpy
The text was updated successfully, but these errors were encountered: