environmentaltools.graphics.storm_timeseries
- environmentaltools.graphics.storm_timeseries(df_sim: DataFrame, df_obs: DataFrame, variables: list, file_name: str = None)[source]
Plots the time series of simulation and observations (from differents RCM) for the choosen variables
- Parameters:
df_sim (*) – simulated time series
df_obs (*) – any key of the dict should be a pd.DataFrame of observed time series
variables (*) – name of the variables
file_name (*) – name of the file to save the plot or None to see plots on the screen. Defaults to None.
- Returns:
axis for the plot or None
- Return type:
ax (matplotlib.axis)