plot_1d_dist

extinction_ensemble_props.plot_1d_distributions.plot_1d_dist(ax, datasets, param, fit=False)

Plot the 1D distribution of a a single dust property. Multiple datasets can be plotted together. Optionally, include a Gaussian fit to the distribution of each dataset.

Parameters

axmatplottlib.axes

matplotlib axes object for the plot

datasetslist

list of the datasets to plot

paramstring

name of the parameter to be plot

fitboolean

set to fit a Gaussian to the distribution [default=False]