Skip to content

Commit

Permalink
update the examples of the ams_analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
MAfarrag committed Aug 18, 2024
1 parent 00ff8eb commit 9c18f95
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
Binary file removed examples/data/gauges/figures/date.png
Binary file not shown.
11 changes: 11 additions & 0 deletions statista/eva.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,17 @@ def ams_analysis(
Andernach 0.321513 5649.076008 2084.383132 0.074074 0.998738
Cologne 0.306146 5783.017454 2090.224037 0.074074 0.998738
Rees 0.284227 5960.022503 2107.197210 0.074074 0.998738
- Since we have set `save_plots=True`, the function will save the plots in the directory we have provided in `save_to`.
For example, the plot of Frankfurt's time series data is saved as "Frankfurt.png" for the `pdf` and `cdf` and
"f-Frankfurt.png" for the confidince interval plot in the specified directory.'
.. image:: /_images/Frankfurt.png
:align: center
.. image:: /_images/f-Frankfurt.png
:align: center
"""
gauges = time_series_df.columns.tolist()
# List of the table output, including some general data and the return periods.
Expand Down
1 change: 0 additions & 1 deletion tests/test_eva.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import pandas as pd

matplotlib.use("Agg")
import numpy as np
from pandas import DataFrame
import shutil
from pathlib import Path
Expand Down

0 comments on commit 9c18f95

Please sign in to comment.