Note

Please report issues with this page on the GitHub page.

supy.util.plot_comp

supy.util.plot_comp(df_var, fig=None, ax=None)[source]

Produce a scatter plot with linear regression line to compare simulation results and observations.

Parameters:df_var (pd.DataFrame) – DataFrame containing variables to plot with datetime as index. Two columns, ‘Obs’ and ‘Sim’ for observations and simulation results, respectively, must exist.
Returns:figure showing 1:1 line plot
Return type:MPL.figure