alan-turing-institute / WimbledonPlanner

Project planning for REG
MIT License
0 stars 0 forks source link

Issues with Matplotlib Backend in Python venv #19

Open jack89roberts opened 5 years ago

jack89roberts commented 5 years ago

Some Matplotlib backends seem to cause issues when Matplotlib is run in a virtual environment. The default on my laptop is Qt5Agg, Oliver's is MacOSX. TkAgg seems to be the recommended 'safe' choice, but Oliver doesn't have that available, i.e. this is a bit of a minefield.

For now, the scripts called by make contain a try/except statement to force use of the TkAgg backend if available, otherwise try to go ahead with the default backend (whatever that happens to be). There's likely to be setups where this workaround fails.