code: def savemap(self, filename, filetype='png', papertype="a4"):
          
          self.fig.savefig(filename,
                           dpi=self.dpi,
                           format=filetype,
                           papertype=papertype)
docs: Save the figure