Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of rc keys in matplotlib. Tick label rotations

Where can I find a full list of rc keys in matplotlib?

I found this document that shows an example with many (perhaps all?) keys, but I am unable to find the one that controls the rotation of the xaxis major tick labels.

like image 581
Amelio Vazquez-Reina Avatar asked Apr 02 '14 15:04

Amelio Vazquez-Reina


People also ask

How do I rotate a tick label in MatPlotLib?

Rotate X-Axis Tick Labels in Matplotlib There are two ways to go about it - change it on the Figure-level using plt. xticks() or change it on an Axes-level by using tick. set_rotation() individually, or even by using ax. set_xticklabels() and ax.

What does RC stand for in MatPlotLib?

It stands for “run commands”.

What are tick marks MatPlotLib?

Ticks are the markers denoting data points on axes. Matplotlib has so far - in all our previous examples - automatically taken over the task of spacing points on the axis. Matplotlib's default tick locators and formatters are designed to be generally sufficient in many common situations.


1 Answers

Current params are in mpl.rcParams. Defaults are in mpl.rcParamsDefault.

like image 114
mwaskom Avatar answered Oct 29 '22 18:10

mwaskom