def test_fitplot(setup_plot): dp = sherpa.DataPlot() dp.prepare(setup_plot.data, setup_plot.f.stat) mp = sherpa.ModelPlot() mp.prepare(setup_plot.data, setup_plot.g1, setup_plot.f.stat) fp = sherpa.FitPlot() fp.prepare(dp, mp)
def test_splitplot(self): dp = sherpa.DataPlot() dp.prepare(self.data, self.f.stat) mp = sherpa.ModelPlot() mp.prepare(self.data, self.g1, self.f.stat) rp = sherpa.ResidPlot() rp.prepare(self.data, self.g1, self.f.stat) fp = sherpa.FitPlot() fp.prepare(dp,mp) sp = sherpa.SplitPlot(2,2)
def test_splitplot(setup_plot): dp = sherpa.DataPlot() dp.prepare(setup_plot.data, setup_plot.f.stat) mp = sherpa.ModelPlot() mp.prepare(setup_plot.data, setup_plot.g1, setup_plot.f.stat) rp = sherpa.ResidPlot() rp.prepare(setup_plot.data, setup_plot.g1, setup_plot.f.stat) fp = sherpa.FitPlot() fp.prepare(dp, mp) # TODO: without calling addplot this is hust the same as test_splitcontour sp = sherpa.SplitPlot(2, 2)