class_docstr: BoxPlot w/ whiskers.
class_docstr_tok: ["BoxPlot","w\/","whiskers","."]
code: def _plot(self) -> plt.figure:
      fig = plt.figure(figsize=self.figsize)
      ax = fig.add_subplot(1, 1, 1)
      props = dict(linewidth=0.75)
      ax.boxplot(
          self.df,
          labels=self.df.columns,
          sym=self.PALETTE[0],
          medianprops={"linewidth": 1, "color": self.PALETTE[0]},
          boxprops=props,
          capprops=props,
          whiskerprops=props,
      )
      plt.setp(
          ax.get_xticklabels(),
          rotation=30,
          ha="right",
          rotation_mode="anchor",
      )
      if self.df.shape[1] > 20:
          xticks = ax.xaxis.get_major_ticks()
          for n in range(1, len(xticks), 2):
              xticks[n].label1.set_visible(False)
      ax.spines["top"].set_visible(False)
      ax.spines["right"].set_visible(False)
      plt.tight_layout()
      plt.close(fig)
      return fig
  
file_path: tslumen/tslumen/plot/static/distribution.py
imports: from typing import Tuple
  from dataclasses import dataclass
  import numpy
  import pandas
  import matplotlib.pyplot
  from tslumen.plot.static.base import Figure
label_desc: Use image node_id 1 for calling the BoxPlot obj's underlying member method code with example usage: obj._plot() and returns: fig