def test_plot_summary(self, data): model = Gumbel(data, fit_method="mle", ci=0.05, ci_method="delta") fig, ax1, ax2, ax3, ax4 = model.plot_summary() assert len(fig.get_axes()) == 4 assert ax1.has_data() assert ax2.has_data() assert ax3.has_data() assert ax4.has_data()
def test_plot_summary(self): for i in range(len(self.datasets)): model = Gumbel(self.datasets[i], fit_method = "mle", ci = 0.05, ci_method='delta') fig, ax1, ax2, ax3, ax4 = model.plot_summary() self.assertEqual(len(fig.get_axes()), 4) self.assertTrue(ax1.has_data()) self.assertTrue(ax2.has_data()) self.assertTrue(ax3.has_data()) self.assertTrue(ax4.has_data())
def test_plot_summary(self): for i in range(len(self.datasets)): model = Gumbel(self.datasets[i], fit_method="mle", ci=0.05, ci_method='delta') fig, ax1, ax2, ax3, ax4 = model.plot_summary() self.assertEqual(len(fig.get_axes()), 4) self.assertTrue(ax1.has_data()) self.assertTrue(ax2.has_data()) self.assertTrue(ax3.has_data()) self.assertTrue(ax4.has_data())