fiesta.plotter.plot_log_histogram#

fiesta.plotter.plot_log_histogram(arrays, bins='auto', colors=None, linestyles=None, linewidths=None, labels=None, save=None, **kwargs)[source]#

A general function to plot histograms of data on a log scale.

Parameters:
  • arrays (list of list’s) – The list of data arrays to generate histograms of.

  • bins (int or sequence or str) – See hist documentation for detail. Default value is auto.

  • colors (list, optional) – A list of matplotlib-compatible color strings corresponding to each line plotted. If None (default), colors are picked by cycling through matplotlib tab10 colour palette.

  • linestyles (list, optional) – A list of matplotlib-compatible linestyle strings corresponding to each line plotted. If None (default), they are set to -.

  • linewidths (list, optional) – A list of linewidths corresponding to each line plotted. If None (default), they are set to 1.5.

  • labels (list, optional) – A list of labels corresponding to each histogram plotted. If None (default), they are numbered 1, ..., n.

  • save (str, optional) – File path to save the plot. If None (default), plot is not saved.

  • **kwargs (dict, optional) – Additional matplotlib-based keyword arguments to control finer details of the plot.

Returns:

fig (Figure) – Main Figure instance.