pyatran.plot.plot_block_air_mass_factor

pyatran.plot.plot_block_air_mass_factor(bamf, ax=None, labels=None, legend_cols=1, legend_title=None)[source]

Create a plot of block air mass factors.

Parameters:

bamf : pandas.DataFrame

The data to be plotted. The DataFrame’s index must be altitude.

ax : matplotlib.axes.AxesSubplot

The axes object to draw the plot in. By default, a new figure will be created.

labels : list of str, optional

A list of strings. By default, the column names from the bamf DataFrame will be used.

legend_cols : int, optional

The number of columns in the legend. By default, the legend will contain 1 column.

legend_title : str, optional

The legend title to be written to the plot. By default, the legend will have no title.