code: def save(self, png_file):
          
          with open(png_file, 'wb') as f:
              f.write(self._repr_png_())
docs: Save png to disk.
  
          Parameters
          ----------
          png_file : path to file
              file to write to
  
          Notes
          -----
          It relies on _repr_png_, so fix issues there.