Closed jbwillis closed 4 years ago
Nice Sleuthing! Yeah, that's bizzare... Sounds like it might have a fix coming down the line though, so that's good.
Could you add a comment about why? (potentially with a link to your stackoverflow question?)
I'm happy to merge this, thanks for looking into it.
Done. This is a useful tool to have on hand, so I am glad I found an easy fix!
This is a fix to issue #1. I am not quite sure why it works. Intuitively it makes sense that calling
matplotlib.use('qt5agg')
would perform some sort of registration. However, as I describe in this stackoverflow question, callingmatplotlib.get_backend()
, which simply returns a value from a dictionary works just as well.To test, you can install a specific version of matplotlib using
pip3 install matplotlib==3.1.2
. Without this fix, runningpython3 plotWindow.py
should fail. Incorporating the fix,python3 plotWindow.py
should run as expected.