4

In R:

p + theme(axis.title = element_text(size = 12))

How can you do this in the Python implementation?


Note: I can't find a comprehensive source of documentation for ggplot in Python, which is making presumably simple requests like this very difficult.

christopherlovell
  • 3,800
  • 4
  • 19
  • 26

2 Answers2

0
p + theme(axis_text = element_text(size = 12))
sh1291
  • 45
  • 1
  • 1
  • 5
-2

Use:

p + theme(axis_title = element_text(size = 12))
Andy
  • 49,085
  • 60
  • 166
  • 233
Ali
  • 1