class_docstr: Implements a Matplotlib figure inside a QWidget.
  Use getFigure() and redraw() to interact with matplotlib.
  
  Example::
  
      mw = MatplotlibWidget()
      subplot = mw.getFigure().add_subplot(111)
      subplot.plot(x,y)
      mw.draw()
code: def __init__(self, figsize=(5.0, 4.0), dpi=100, parent=None):
      pass
  
file_path: pyqtgraph/pyqtgraph/widgets/MatplotlibWidget.py
imports: from matplotlib.backends.backend_qtagg import FigureCanvasQTAgg
  from matplotlib.backends.backend_qtagg import NavigationToolbar2QT
  from matplotlib.figure import Figure
  from ..Qt import QtWidgets
  import typing
label_desc: Use image node_id 1 to create a new MatplotlibWidget object from inherited base classes: QtWidgets with example: obj = MatplotlibWidget(figsize, dpi, parent)