bet_combo_plot#

beatmap.vis.bet_combo_plot(bet_results, mask_results, save_file=True)#

Creates a BET plots for the minimum and maxium error data sets.

Only datapoints in the minimum and maximum error data sets are plotted. Equation for best fit line and R2 value are annotated on plot.

Parameters:
bet_resultsnamedtuple

Namedtuple where the bet_results.iso_df element is used to create a plot of isotherm BET values.

mask_resultsnamedtuple

The mask_results.mask element is used to mask the BET results so that only valid results are displayed.

save_filebool

When save_file = True a png of the figure is created in the working directory.

Returns:
figurematplotlib figure

Figure object containing the plot.

axmatplotlib axes

Axes object containing the plot.