997181c04fa037b4dd7c6f032787fda5dbf3ee93,vislogger/numpyplotfilelogger.py,NumpyPlotFileLogger,show_scatterplot,#NumpyPlotFileLogger#Any#Any#Any#,45

Before Change


    def show_scatterplot(self, array, name, file_format=".png", *args, **kwargs):
        Abstract method which should handle and somehow log/ store a scatterplot
        figure = NumpySeabornPlotLogger.show_scatterplot(self, array, name, show=False)
        threaded(savefig_and_close)(figure, os.path.join(self.plot_dir, name) + file_format)

    @convert_params
    def show_piechart(self, array, name, file_format=".png", *args, **kwargs):
        Abstract method which should handle and somehow log/ store a piechart

After Change


    def show_scatterplot(self, array, name, file_format=".png", *args, **kwargs):
        Abstract method which should handle and somehow log/ store a scatterplot
        figure = NumpySeabornPlotLogger.show_scatterplot(self, array, name, show=False)
        outname = os.path.join(self.plot_dir, name) + file_format
        os.makedirs(os.path.dirname(outname), exist_ok=True)
        threaded(savefig_and_close)(figure, outname)

    @convert_params
    def show_piechart(self, array, name, file_format=".png", *args, **kwargs):
        Abstract method which should handle and somehow log/ store a piechart
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 6

Instances


Project Name: MIC-DKFZ/trixi
Commit Name: 997181c04fa037b4dd7c6f032787fda5dbf3ee93
Time: 2018-04-11
Author: jens.petersen@dkfz.de
File Name: vislogger/numpyplotfilelogger.py
Class Name: NumpyPlotFileLogger
Method Name: show_scatterplot


Project Name: MIC-DKFZ/trixi
Commit Name: 997181c04fa037b4dd7c6f032787fda5dbf3ee93
Time: 2018-04-11
Author: jens.petersen@dkfz.de
File Name: vislogger/numpyplotfilelogger.py
Class Name: NumpyPlotFileLogger
Method Name: show_value


Project Name: MIC-DKFZ/trixi
Commit Name: 997181c04fa037b4dd7c6f032787fda5dbf3ee93
Time: 2018-04-11
Author: jens.petersen@dkfz.de
File Name: vislogger/numpyplotfilelogger.py
Class Name: NumpyPlotFileLogger
Method Name: show_barplot


Project Name: MIC-DKFZ/trixi
Commit Name: 997181c04fa037b4dd7c6f032787fda5dbf3ee93
Time: 2018-04-11
Author: jens.petersen@dkfz.de
File Name: vislogger/numpyplotfilelogger.py
Class Name: NumpyPlotFileLogger
Method Name: show_image


Project Name: MIC-DKFZ/trixi
Commit Name: 997181c04fa037b4dd7c6f032787fda5dbf3ee93
Time: 2018-04-11
Author: jens.petersen@dkfz.de
File Name: vislogger/numpyplotfilelogger.py
Class Name: NumpyPlotFileLogger
Method Name: show_lineplot


Project Name: MIC-DKFZ/trixi
Commit Name: 997181c04fa037b4dd7c6f032787fda5dbf3ee93
Time: 2018-04-11
Author: jens.petersen@dkfz.de
File Name: vislogger/numpyplotfilelogger.py
Class Name: NumpyPlotFileLogger
Method Name: show_piechart