0

I'm using the following line to add labels to the bar chart, how can I adjust the font family?

plt.xticks(xticks_pos, labels,  ha='right', rotation=55, fontsize=20)
copplestone
  • 79
  • 1
  • 1
  • 6

1 Answers1

2

You can use fontname as shown in this question.

plt.xticks(xticks_pos, labels,  ha='right', rotation=55, fontsize=20, fontname='monospace')
copplestone
  • 79
  • 1
  • 1
  • 6