Exemplo n.º 1
0
 def test_step_full_options(self, close_figures):
     gofplots._do_plot(
         self.x,
         self.y,
         ax=self.ax,
         step=True,
         **self.full_options,
     )
Exemplo n.º 2
0
 def test_step_baseline(self, close_figures):
     gofplots._do_plot(
         self.x,
         self.y,
         ax=self.ax,
         step=True,
         **self.step_options,
     )
Exemplo n.º 3
0
 def test_with_ax(self, close_figures):
     plt = _import_mpl()
     fig, ax = gofplots._do_plot(self.x, self.y, ax=self.ax)
     assert isinstance(fig, plt.Figure)
     assert isinstance(ax, plt.Axes)
     assert self.fig is fig
     assert self.ax is ax
Exemplo n.º 4
0
 def test_baseline(self, close_figures):
     plt = _import_mpl()
     fig, ax = gofplots._do_plot(self.x, self.y)
     assert isinstance(fig, plt.Figure)
     assert isinstance(ax, plt.Axes)
     assert self.fig is not fig
     assert self.ax is not ax
Exemplo n.º 5
0
 def test_step_qq_line(self, close_figures):
     gofplots._do_plot(self.x, self.y, ax=self.ax, step=True, line="r")
Exemplo n.º 6
0
 def test_plot_qq_line(self, close_figures):
     gofplots._do_plot(self.x, self.y, ax=self.ax, line="r")