Tick direction in Makie

Is there a way to change the tick direction? The default is that ticks are outside the axes. I would like them to be inside, but I cannot seem to find anything about this in the documentation.

xtickalign=1

here, an example with both cases, Out and In.

https://lazarusa.github.io/BeautifulMakie/ScattersLines/Fig2Lines/

2 Likes

Thank you! I had mistakenly thought tickalign referred to rotation of the ticks somehow.

I should add a visual example in the docs.

2 Likes

That would be nice a nice addition. It’s also not clear whether xtickalign=1 means it will be outside or inside and what value explicitly makes it outside (I assume 0). And is there a middle (sticking both inside and outside the axis)?

It’s written here API reference, and yeah you could use 0.5 and it would be in and out

1 Like