This was the last change I needed so I could avoid having matplotlib installed to generated the gridded files. The lmatools.lasso.energy_stats module does a couple matplotlib imports including some from stormdrain. This PR moves the import of TimeSeriesPolygonLassoFilter to the class that it is used in since it seemed like the easiest fix. I couldn't figure out a simpler way of doing it with out refactoring glmtools or lmatools.
This was the last change I needed so I could avoid having matplotlib installed to generated the gridded files. The
lmatools.lasso.energy_stats
module does a couple matplotlib imports including some from stormdrain. This PR moves the import ofTimeSeriesPolygonLassoFilter
to the class that it is used in since it seemed like the easiest fix. I couldn't figure out a simpler way of doing it with out refactoring glmtools or lmatools.