-1

I am plotting multiple distributions via the 'col' parameter and trying to change the fontsize and rotation for xticks but it will only take effect on the last subplot. How do I make it so that it changes for both subplots?

enter image description here

enter image description here

mrLimpio
  • 45
  • 4

1 Answers1

2

You can set the tick_params for all axes with:

g.tick_params(axis='x', labelsize=5) 

Or iterate over the Axes in your FacetGrid object g:

for ax in g.axes.flatten():
  ax.tick_params(axis='x', labelsize=5) 
Tranbi
  • 11,407
  • 6
  • 16
  • 33