For context: some scientific journals demand the fonts of our graphs to be Arial, and since I use google colab to plot absolutely everything, I need to find a way to change my font to Arial globally.
The problem is nothing seems to work.
First I tried just use plt.rcParams[‘font.family’], but it yields a “WARNING:matplotlib.font_manager:findfont: Font family ‘Arial’ not found.”
I also tried different solutions, like installing with !wget and using font_manager and stuff (for reference, like this) but nothing seems to work.
This seemed like a minor intervention but I already lost 1 week and every hope inside my heart.
This is driving me absolutely insane!!!!
Gabriel Fontenele is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.