Quantcast
Channel: How to align axis label to the right or top in matplotlib? - Stack Overflow
Viewing all articles
Browse latest Browse all 4

How to align axis label to the right or top in matplotlib?

$
0
0

By default matplotlib plots the axis label at the center of the axis. I would like to move the label in such way that it is aligned with the end of the axis, both for the horizontal and vertical axis. For example for the horizontal axis I would like to see:

+--------------------+|                    ||                    ||                    ||                    ||                    |+--------------------+                 label

Is it possibile to do it with the global setting of matplotlib?


Viewing all articles
Browse latest Browse all 4

Trending Articles