code: def poof(self, outpath=None, clear_figure=False, **kwargs):
          
          # Ensure that draw has been called
          if self._ax is None:
              warn_message = (
                  "{} does not have a reference to a matplotlib.Axes "
                  "the figure may not render as expected!"
              )
              warnings.warn(
                  warn_message.format(self.__class__.__name__), YellowbrickWarning
              )
  
          # Finalize the figure
          self.finalize()
  
          if outpath is not None:
              plt.savefig(outpath, **kwargs)
          else:
              plt.show()
  
          if clear_figure:
              plt.gcf().clear()
docs: Poof makes the magic happen and a visualizer appear! You can pass in
          a path to save the figure to disk with various backends, or you can
          call it with no arguments to show the figure either in a notebook or
          in a GUI window that pops up on screen.
  
          Parameters
          ----------
          outpath: string, default: None
              path or None. Save figure to disk or if None show in window
  
          clear_figure: boolean, default: False
              When True, this flag clears the figure after saving to file or
              showing on screen. This is useful when making consecutive plots.
  
          kwargs: dict
              generic keyword arguments.
  
          Notes
          -----
          Developers of visualizers don't usually override poof, as it is
          primarily called by the user to render the visualization.