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

Use of emphasis in speech

Generating a lot of language data with a theorem prover

"Litany Against Fear" in Present Tense

When it's time to party we will party hard

these are people who died

divine carrot

the frog

what it’s like to get nail phenolization

Why 0 to the power of 0 is 1

Lines and Points are Circles