gemseo / post / dataset

Show inherited members

bars module

Draw a bar plot from a Dataset.

class gemseo.post.dataset.bars.BarPlot(dataset, n_digits=1)[source]

Bases: DatasetPlot

Barplot visualization.

Parameters:
  • dataset (Dataset) – The dataset containing the data to plot.

  • n_digits (int) –

    The number of digits to print the different bar values.

    By default it is set to 1.

Raises:

ValueError – If the dataset is empty.

property colormap: str

The color map.

Examples using BarPlot

Bars

Bars