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
oflist
’s) – The list of data arrays to generate histograms of.bins (
int
orsequence
orstr
) – Seehist
documentation for detail. Default value isauto
.colors (
list
, optional) – A list of matplotlib-compatible color strings corresponding to each line plotted. IfNone
(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. IfNone
(default), they are set to-
.linewidths (
list
, optional) – A list of linewidths corresponding to each line plotted. IfNone
(default), they are set to1.5
.labels (
list
, optional) – A list of labels corresponding to each histogram plotted. IfNone
(default), they are numbered1, ..., n
.save (
str
, optional) – File path to save the plot. IfNone
(default), plot is not saved.**kwargs (
dict
, optional) – Additional matplotlib-based keyword arguments to control finer details of the plot.
- Returns: