code: def __init__(self, base_dpi: float = 100, scale_to_set: float = 1):
      try:
          self.default_skplt_dpit = skplt.metrics.plt.rcParams[
              "figure.dpi"
          ]
          skplt.metrics.plt.rcParams["figure.dpi"] = (
              base_dpi * scale_to_set
          )
      except Exception:
          pass
  
file_path: pycaret/pycaret/internal/plots/helper.py
imports: import numpy
  import scikitplot
label_desc: Use image node_id 1 to create a new MatplotlibDefaultDPI object from inherited base classes: object with example: obj = MatplotlibDefaultDPI(base_dpi, scale_to_set)