pastas / pastastore

:spaghetti: :convenience_store: Tools for managing timeseries and Pastas models
https://pastastore.readthedocs.io
MIT License
15 stars 4 forks source link

Plot option for cumulative histogram #55

Closed martinvonk closed 2 years ago

martinvonk commented 2 years ago

This is an option to plot a cumulative histogram of the model results using: ax = pstore.plots.cumulative_hist('evp')

Cumulative_Histogram

There is one little caveat when using the option dummy=True. This add a dummy variable to remove the ugly horizontal line but this skews the line a little bit. Default is thus dummy=False, but I wanted to include it because the results look better.