trynthink / scout

A tool for estimating the future energy use, carbon emissions, and capital and operating cost impacts of energy efficiency and demand flexibility technologies in the U.S. residential and commercial building sectors.
https://scout.energy.gov
Other
58 stars 22 forks source link

FutureWarning encountered in plots.py #299

Closed jtlangevin closed 1 year ago

jtlangevin commented 1 year ago

When running plots.py, the following is encounutered:

Plotting output data.../Users/jtl/Desktop/scout/plots.py:1703: FutureWarning: save is not part of the public API, usage can give unexpected results and will be removed in a future version
  writer.save()

Per this, writer.save() should be replaced with writer.close() to fix the issue.