code: def __init__(self, figure):
      super(FigureCanvasQTCairo, self).__init__(figure=figure)
      self._renderer = RendererCairo(self.figure.dpi)
      self._renderer.set_width_height(-1, -1)
  
file_path: catboost/contrib/python/matplotlib/py2/matplotlib/backends/backend_qt5cairo.py
imports: import six
  from .backend_cairo import cairo, FigureCanvasCairo, RendererCairo
  from .backend_qt5 import QtCore, QtGui, _BackendQT5, FigureCanvasQT
  from .qt_compat import QT_API
label_desc: Use image node_id 1 to create a new FigureCanvasQTCairo object from inherited base classes: FigureCanvasQT, FigureCanvasCairo with example: obj = FigureCanvasQTCairo(figure)