Esempio n. 1
0
 def test_plot_rectangular_roi_remove(self, render_figure):
     im = self.im
     im.plot()
     p = roi.RectangularROI(left=0.01, top=0.01, right=0.1, bottom=0.03)
     p.add_widget(signal=im)
     p.remove_widget(im, render_figure=render_figure)
Esempio n. 2
0
 def test_plot_rectangular_roi(self, space):
     objs = _transpose_space(im=self.im, space=space)
     p = roi.RectangularROI(left=0.01, top=0.01, right=0.1, bottom=0.03)
     p.add_widget(signal=objs["im"], axes=objs["axes"], color="cyan")
     return objs["figure"]