Пример #1
0
    def plot(self, experiment, plot_name=None, **kwargs):
        if self.plotfacet and plot_name:
            experiment = experiment.subset(self.plotfacet, plot_name)

        Kde2DView.plot(self, experiment, **kwargs)

        if self.plotfacet and plot_name is not None:
            plt.title("{0} = {1}".format(self.plotfacet, plot_name))
Пример #2
0
    def plot(self, experiment, plot_name = None, **kwargs):
        if experiment is None:
            raise util.CytoflowViewError("No experiment specified")
        
        if self.plotfacet and plot_name is not None:
            experiment = experiment.subset(self.plotfacet, plot_name)

        Kde2DView.plot(self, experiment, **kwargs)
        
        if self.plotfacet and plot_name is not None:
            plt.title("{0} = {1}".format(self.plotfacet, plot_name))