Closed barrc closed 4 years ago
This stackoverflow comment makes it sound like we shouldn't be importing pyplot? Maybe see this tutorial. At some points the GUI is using matplotlib.figure instead of plt.figure (where plt is matplotlib.pyplot).
It looks like the plots produced by frmPlotViewer.py (like the timeseries editor) have this issue. I suspect an upgrade to matplotlib has something to do with it, because this all worked not long ago. I think the solution may to follow the model of the output timeseries and scatter plots.
The commit referenced above satisfies the initial issue. You can now: run Example1.inp go to timeseries editor and view the timeseries create a scatter plot or timeseries plot!
To reproduce:
If you skip viewing the timeseries, you can create a scatter plot or timeseries plot.
Version: SWMM MTP6r2 and dev-ui-py3qt5