Fixing Annoying Issue With Matplotlib Pyplot In macOS

2017-08-14·Alok Singh·30 words

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