class_docstr: An object to store configuration of the inline backend.
code: def _figure_formats_changed(self, name, old, new):
      if "jpg" in new or "jpeg" in new:
          if not pil_available():
              raise TraitError("Requires PIL/Pillow for JPG figures")
      self._update_figure_formatters()
  
file_path: catboost/contrib/python/ipykernel/py2/ipykernel/pylab/config.py
imports: from traitlets.config.configurable import SingletonConfigurable
  from traitlets import Dict, Instance, Set, Bool, TraitError, Unicode
label_desc: Use image node_id 2 for calling the InlineBackend obj's underlying member method code with example usage: obj._figure_formats_changed(name, old, new) without return types