nwm_eval.create_plots.set_up_figure#
- nwm_eval.create_plots.set_up_figure(df1, df2, plot_type='boxplot')[source]#
Set up a matplotlib figure with dynamic sizing based on data.
- Parameters:
df1 – A DataFrame containing the data for the first subplot.
df2 – A DataFrame containing the data for the second subplot.
plot_type – The type of plot to create, used to determine figure sizing.
- Returns:
A tuple containing the figure and axes objects.