Home > Software design >  Formatting the font of ticklabels in matplotlib
Formatting the font of ticklabels in matplotlib

Time:06-29

I have a font dictionary with which I would like to format the ticklabels in a matplotlib plot.

The enter image description here

If you want to use the OOP interface, you can achieve the same by

for label in ax.get_xticklabels():
    label.update(mydict)
  • Related