Here is a question about turning off the ticks on a given side of a set of axes by using the tick_params
method. I want to change the top
and right
properties to off by default in my matplotlibrc
but I don't see how that is to be done, as the ticks section of the matplotlibrc
file deals with things in terms of xtick
and ytick
. What am I missing?
After sleuthing around on the matplotlib github, I found what I was looking for: the upcoming version 2.x branch, at the time I am writing this, has xtick.top
, etcetera, as parameters in the new matplotlibrc template.
So the answer is that at the time of this writing, that functionality may not be available for templates, and @user2927356's method may be all I can use until matplotlib 2.x comes out.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With