Fixing Annoying Issue With Matplotlib Pyplot In macOS


Running plt.show() causes all sorts of issues on macOS. To fix them, switch your matplotlib backend to something besides MacOSX. I used Qt5Agg.

Put this line into ~/.matplotlib/matplotlibrc

backend: Qt5Agg

Related Posts

Middle School by Bo Burnham

How to Disable Disqus Ads on your Blog

Derivation of Reservoir Sampling

Fun with Python Iterators: Linked Lists Made Easy

Notes for November 11, 2018

Underrated Vim Option: undofile and undodir

Hot Take on Solo Travel: Starve

Alan Perlis

Book Notes: The Map of My Life by Goro Shimura

Prague