You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Essentially, the line matplotlib.use('agg') can be removed from chemtools. It would be better for end users not to have it. Just keep in mind that travis and others need to be configured to run with the agg backend, e.g. as is done here:
In some scenario's (not sure which), usage of matplotlib on macos with the default backend leads to non-obvious errors. See for example:
https://travis-ci.com/theochem/tinydft/jobs/200737929#L297
theochem/tinydft#1
This is solved in chemtools with the following line:
chemtools/chemtools/outputs/plot.py
Line 27 in b899469
The problem with this solution is that it makes it impossible to use
plt.show
to pop up a windows with a plot.The ideal solution would be to figure out how to install matplotlib on macos, such that the default backend works.
This is the corresponding matplotlib issue: matplotlib/matplotlib#13096 (It is closed??)
This is the corresponding conda issue: ContinuumIO/anaconda-issues#10554
The text was updated successfully, but these errors were encountered: