grouped_boxplot

(function from pyomo.contrib.parmest.graphics)

pyomo.contrib.parmest.graphics.grouped_boxplot(data1, data2, normalize=False, group_names=['data1', 'data2'], filename=None)[source]

Plot a grouped boxplot to compare two datasets

The datasets can be normalized by the median and standard deviation of data1.

Parameters:
  • data1 (DataFrame) – Data set, columns = variable names

  • data2 (DataFrame) – Data set, columns = variable names

  • normalize (bool, optional) – Normalize both datasets by the median and standard deviation of data1

  • group_names (list, optional) – Names used in the legend

  • filename (string, optional) – Filename used to save the figure