class_docstr: Overwrites default settings from matplotlib.pyplot.
  If a function is not overwritten, the default function will be used.
code: def ylim(self, ymin, ymax, margin=True):
      if margin:
          ymin_with_margin = ymin - 0.05 * (ymax - ymin)
          ymax_with_margin = ymax + 0.05 * (ymax - ymin)
          self.plt.ylim(ymin_with_margin, ymax_with_margin)
      else:
          self.plt.ylim(ymin, ymax)
  
file_path: SMAC3/benchmark/src/utils/styled_plot.py
imports: from distutils.spawn import find_executable
  import matplotlib
  import base64
  import io
  import matplotlib.pyplot
label_desc: Use image node_id 6 for calling the StyledPlot obj's underlying member method code with example usage: obj.ylim(ymin, ymax, margin) without return types