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

Random Thought: LC Theorem

I finally have an answer to "who's your favorite singer?"

My Top Tip for Helping People Get Started Programming

GPT-f

Random paper on angles

An Image is Worth 16x16 Words

Random stuff

Lossless Data Compression with Neural Networks by Fabrice Bellard

Downscaling Numerical Weather Models With GANs (My CI 2019 Paper)

Learning Differential Forms and Questions