code: def __init__(self, h=500, w=500, niter=50, radius=2.0, power=2):
      self.height = h
      self.width = w
      self.niter = niter
      self.radius = radius
      self.power = power
  
file_path: matplotlib/galleries/examples/event_handling/viewlims.py
imports: import functools
  import matplotlib.pyplot
  import numpy
  from matplotlib.patches import Rectangle
label_desc: Use image node_id 1 to create a new MandelbrotDisplay object  with example: obj = MandelbrotDisplay(h, w, niter, radius, power)