src/pys5p/s5p_geoplot.py
def __close_this_page(self, fig):
        """
        Close current matplotlib figure or page in a PDF document
        """
        # add save figure
        if self.__pdf is None:
            plt.savefig(self.filename)
            plt.close(fig)
        else:
            self.__pdf.savefig()

        Close current matplotlib figure or page in a PDF document
        
Close current matplotlib figure or page in a PDF document
Close current matplotlib figure or page in a PDF document
def __close_this_page(self, fig):
        if self.__pdf is None:
            plt.savefig(self.filename)
            plt.close(fig)
        else:
            self.__pdf.savefig()
def __close_this_page ( self , fig ) : if self . __pdf is None : plt . savefig ( self . filename ) plt . close ( fig ) else : self . __pdf . savefig ( )
Close current matplotlib figure or page in a PDF document
Close current matplotlib figure or page in a PDF document
"""
        Close current matplotlib figure or page in a PDF document
        """ # add save figure
self
fig