コード例 #1
0
ファイル: violin.py プロジェクト: NHLBI-BCB/cytoflow
    def plot(self, experiment, plot_name = None, **kwargs):
        if self.plotfacet and plot_name is not None:
            experiment = experiment.subset(self.plotfacet, plot_name)

        ViolinPlotView.plot(self, experiment, **kwargs)
        
        if self.plotfacet and plot_name is not None:
            plt.title("{0} = {1}".format(self.plotfacet, plot_name))
コード例 #2
0
ファイル: violin.py プロジェクト: nathan2wong/cytoflow
    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)

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

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