bsxplorer.BoxPlot.draw_mpl

BoxPlot.draw_mpl(fig_axes: tuple | None = None, showfliers=False, title: str | None = None, violin: bool = False)[source]

Draw box plot with matplotlib.

Parameters:
  • fig_axes – Tuple of (matplotlib.pyplot.Figure, matplotlib.axes.Axes). New are created if None

  • showfliers – Show outliers on the boxplot.

  • title – Title of the box plot.

  • violin – Should box plot be visualized as violin plot.

Return type:

matplotlib.pyplot.Figure