code: def __init__(self, fig, figsize):
      self.fig = fig
      self.figsize = figsize
      self.subplots = []
  
file_path: pmdarima/pmdarima/arima/tests/test_arima_diagnostics.py
imports: from pmdarima.datasets import load_lynx
  from pmdarima.arima import ARIMA
  from unittest.mock import patch
  import pytest
label_desc: Use image node_id 1 to create a new MockMPLFigure object  with example: obj = MockMPLFigure(fig, figsize)