lib/matplotlib/image.py
def write_png(self, fname):
        """Write the image to png file with fname"""
        im = self.make_image()
        rows, cols, buffer = im.as_rgba_str()
        _png.write_png(buffer, cols, rows, fname)
Write the image to png file with fname
Write the image to png file with fname
Write the image to png file with fname
def write_png(self, fname):
        im = self.make_image()
        rows, cols, buffer = im.as_rgba_str()
        _png.write_png(buffer, cols, rows, fname)
def write_png ( self , fname ) : im = self . make_image ( ) rows , cols , buffer = im . as_rgba_str ( ) _png . write_png ( buffer , cols , rows , fname )
Write the image to png file with fname
Write the image to png file with fname
"""Write the image to png file with fname"""
self
fname