bsxplorer.BoxPlot.draw_plotly

BoxPlot.draw_plotly(figure: Figure | None = None, title='', violin: bool = False, points: bool | str = False, fig_rows: int | list | None = None, fig_cols: int | list | None = None)[source]

Draw box plot with plotly.

Parameters:
  • figureplotly.graph_objects.Figure. New is created if None

  • points – Specify which points should be included (see Plotly docs)

  • title – Title of the box plot.

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

  • fig_cols – Cols of the subplot where to draw the box plot.

  • fig_rows – Rows of the subplot where to draw the box plot.

Return type:

matplotlib.pyplot.Figure