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

Direction tick marks #371

Closed
NikkiZabel opened this issue Nov 16, 2017 · 4 comments
Closed

Direction tick marks #371

NikkiZabel opened this issue Nov 16, 2017 · 4 comments

Comments

@NikkiZabel
Copy link

Hi, the option to change the direction of the tick marks seems to have been removed in the latest version. Why is that? I'd really like to be able to have them on the inside of my figure! Thanks!

@rainsworth
Copy link

Hello! Is this still an open issue? All of the documentation shows images with tick marks inside the plot, but no matter what I do, they only plot outside of my aplpy.FITSFigure plots.

@Sunmish
Copy link

Sunmish commented Mar 6, 2018

As far as I know this hasn't been fixed, however astrofrog has suggested using this at the beginning of your script as a workaround:

import matplotlib as mpl
mpl.rcParams['xtick.direction'] = 'in'
mpl.rcParams['ytick.direction'] = 'in'

This workaround has worked nicely for me.

@NikkiZabel
Copy link
Author

NikkiZabel commented Mar 6, 2018 via email

@astrofrog
Copy link
Member

astrofrog commented Feb 17, 2019

You can now do this with fig.ticks.set_tick_direction('in') (or 'out') in APLpy 2.0

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

4 participants