out3Plot.statsPlots.plotDistFromDF¶
- plotDistFromDF(cfg, dataDF, name1, name2, scenario='', parametersDict='', type='')[source]¶
create a dist plot from dataframe for name1 on x axis and name2 on y axis, optionally colorcoded with scenario name and filtered with parametersDict
- Parameters
cfg (configparser object) – configuration settings here outDir
dataDF (dataframe) – dataframe with one line per simulation and info on model parameters and results
name1 (str) – column name of dataDF to use for plot x axis
name2 (str) – column name of dataDF to use for plot y axis
scenario (str) – optional name of column used to colorcode points in plots for type=scatter or kde for type=dist
parametersDict (dict) – optional - dictionary filter criteria
type (str) – optional - type of plot dist or scatter
- Returns
plotPath – path to figure
- Return type
pathlib path