tabensemb.trainer.Trainer.plot_feature_box#

method

Trainer.plot_feature_box(imputed: bool = False, features: List[str] | None = None, ax=None, clr: Iterable | None = None, figure_kwargs: Dict | None = None, boxplot_kwargs: Dict | None = None, select_by_value_kwargs: Dict | None = None, savefig_kwargs: Dict | None = None, save_show_close: bool = True) Axes[source]#

Plot boxplot of the tabular data.

Parameters:
imputed

Whether the imputed dataset should be considered.

ax

matplotlib.axes.Axes

clr

A seaborn color palette or an Iterable of colors. For example seaborn.color_palette(“deep”).

figure_kwargs

Arguments for plt.figure

boxplot_kwargs

Arguments for seaborn.boxplot

select_by_value_kwargs

Arguments for tabensemb.data.datamodule.DataModule.select_by_value().

savefig_kwargs

Arguments for plt.savefig

save_show_close

Whether to save, show (in the notebook), and close the figure if ax is not given.

Returns:
matplotlib.axes.Axes