Skip to content

reference_system_py::plot_utils

Functions

Name
def plot_barplot(fig fig, data_source data_source, fill_color fill_color ='gray')

Functions Documentation

function plot_barplot

def plot_barplot(
    fig fig,
    data_source data_source,
    fill_color fill_color ='gray'
)
Plot a barplot in `fig` using data from `data_source`.

`data_source` is assumed to contain the following columns:
- 'x' contains the x-coordinate
- 'low' and 'high' contain the minimum/maximum
- 'box_bottom' and 'box_top' contain the beginning/end of the box (mean +- stddev)
- 'mean' contains the mean value

Updated on 2023-09-17 at 15:43:17 +0000