code: def draw_test(self):
      """
      Try drawing the ggplot object
  
      Parameters
      ----------
      self : ggplot
          ggplot object
  
      This function is meant to monkey patch ggplot.draw_test
      so that tests can draw and not care about cleaning up
      the MPL figure.
      """
      with _test_cleanup():
          self.draw()
  
imports: import inspect
  import locale
  import shutil
  import types
  import warnings
  from copy import deepcopy
  from pathlib import Path
  import matplotlib
  import matplotlib.pyplot
  from matplotlib.testing.compare import compare_images
  from plotnine import ggplot, theme
label_desc: Use image node_id 3 for calling a global function with example usage: draw_test() without return types