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))
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))