python/replicate/experiment.py
def plot(self, metric: Optional[str] = None, logy=False):
        """
        Plot a metric for all the checkpoints in this list of
        experiments. If no metric is specified, defaults to the
        shared primary metric.
        """
        import matplotlib.pyplot as plt  # type: ignore

        if metric is None:
            metric = self.primary_metric()

        for exp in self:
            exp.plot(metric, plot_only=True)

        plt.legend(bbox_to_anchor=(1, 1))
        plt.xlabel("step")
        plt.ylabel(metric)

        if logy:
            plt.yscale("log")

        Plot a metric for all the checkpoints in this list of
        experiments. If no metric is specified, defaults to the
        shared primary metric.
        
Plot a metric for all the checkpoints in this list of
experiments. If no metric is specified, defaults to the
shared primary metric.
Plot a metric for all the checkpoints in this list of experiments . If no metric is specified defaults to the shared primary metric .
def plot(self, metric: Optional[str] = None, logy=False):
        import matplotlib.pyplot as plt  
        if metric is None:
            metric = self.primary_metric()
        for exp in self:
            exp.plot(metric, plot_only=True)
        plt.legend(bbox_to_anchor=(1, 1))
        plt.xlabel("step")
        plt.ylabel(metric)
        if logy:
            plt.yscale("log")
def plot ( self , metric : Optional [ str ] = None , logy = False ) : import matplotlib . pyplot as plt if metric is None : metric = self . primary_metric ( ) for exp in self : exp . plot ( metric , plot_only = True ) plt . legend ( bbox_to_anchor = ( 1 , 1 ) ) plt . xlabel ( "step" ) plt . ylabel ( metric ) if logy : plt . yscale ( "log" )
Plot a metric for all the checkpoints in this list of
experiments.
Plot a metric for all the checkpoints in this list of experiments .
"""
        Plot a metric for all the checkpoints in this list of
        experiments. If no metric is specified, defaults to the
        shared primary metric.
        """ # type: ignore
self
metric
Optional[str]
logy