trains/logger.py
def report_line_plot(self, title, series, iteration, xaxis, yaxis, mode='lines', reverse_xaxis=False, comment=None):
        """
        Report a (possibly multiple) line plot.

        :param title: Title (AKA metric)
        :type title: str
        :param series: All the series' data, one for each line in the plot.
        :type series: An iterable of LineSeriesInfo.
        :param iteration: Iteration number
        :type iteration: int
        :param xaxis: optional x-axis title
        :param yaxis: optional y-axis title
        :param mode: scatter plot with 'lines'/'markers'/'lines+markers'
        :type mode: str
        :param reverse_xaxis: If true X axis will be displayed from high to low (reversed)
        :type reverse_xaxis: bool
        :param comment: comment underneath the title
        :type comment: str
        """

        series = [self.SeriesInfo(**s) if isinstance(s, dict) else s for s in series]

        # if task was not started, we have to start it
        self._start_task_if_needed()

        return self._task.reporter.report_line_plot(
            title=title,
            series=series,
            iter=iteration,
            xtitle=xaxis,
            ytitle=yaxis,
            mode=mode,
            reverse_xaxis=reverse_xaxis,
            comment=comment,
        )

        Report a (possibly multiple) line plot.

        :param title: Title (AKA metric)
        :type title: str
        :param series: All the series' data, one for each line in the plot.
        :type series: An iterable of LineSeriesInfo.
        :param iteration: Iteration number
        :type iteration: int
        :param xaxis: optional x-axis title
        :param yaxis: optional y-axis title
        :param mode: scatter plot with 'lines'/'markers'/'lines+markers'
        :type mode: str
        :param reverse_xaxis: If true X axis will be displayed from high to low (reversed)
        :type reverse_xaxis: bool
        :param comment: comment underneath the title
        :type comment: str
        
Report a (possibly multiple) line plot.
Report a ( possibly multiple ) line plot .
def report_line_plot(self, title, series, iteration, xaxis, yaxis, mode='lines', reverse_xaxis=False, comment=None):
        series = [self.SeriesInfo(**s) if isinstance(s, dict) else s for s in series]
        self._start_task_if_needed()
        return self._task.reporter.report_line_plot(
            title=title,
            series=series,
            iter=iteration,
            xtitle=xaxis,
            ytitle=yaxis,
            mode=mode,
            reverse_xaxis=reverse_xaxis,
            comment=comment,
        )
def report_line_plot ( self , title , series , iteration , xaxis , yaxis , mode = 'lines' , reverse_xaxis = False , comment = None ) : series = [ self . SeriesInfo ( ** s ) if isinstance ( s , dict ) else s for s in series ] self . _start_task_if_needed ( ) return self . _task . reporter . report_line_plot ( title = title , series = series , iter = iteration , xtitle = xaxis , ytitle = yaxis , mode = mode , reverse_xaxis = reverse_xaxis , comment = comment , )
Report a (possibly multiple) line plot.
Report a ( possibly multiple ) line plot .
"""
        Report a (possibly multiple) line plot.

        :param title: Title (AKA metric)
        :type title: str
        :param series: All the series' data, one for each line in the plot.
        :type series: An iterable of LineSeriesInfo.
        :param iteration: Iteration number
        :type iteration: int
        :param xaxis: optional x-axis title
        :param yaxis: optional y-axis title
        :param mode: scatter plot with 'lines'/'markers'/'lines+markers'
        :type mode: str
        :param reverse_xaxis: If true X axis will be displayed from high to low (reversed)
        :type reverse_xaxis: bool
        :param comment: comment underneath the title
        :type comment: str
        """ # if task was not started, we have to start it
self
title
Title (AKA metric)
Title ( AKA metric )
series
All the series' data, one for each line in the plot.
All the series ' data one for each line in the plot .
iteration
None
xaxis
optional x-axis title
optional x - axis title
yaxis
optional y-axis title
optional y - axis title
mode
scatter plot with 'lines'/'markers'/'lines+markers'
scatter plot with ' lines ' / ' markers ' / ' lines + markers '
reverse_xaxis
If true X axis will be displayed from high to low (reversed)
If true X axis will be displayed from high to low ( reversed )
comment
comment underneath the title
comment underneath the title