Commit 86306d32 authored by Valentin Valls's avatar Valentin Valls
Browse files

Fix EBV plot using the new API

parent 352cf139
......@@ -64,9 +64,9 @@ class LiveImagePlot:
def create_plot(self, data):
flint = proxy.get_flint()
self.fig = flint.add_plot(
plots.ImagePlot, name=self._name, selected=True, closeable=True
plots.ImageView, name=self._name, selected=True, closeable=True
)
self.fig.plot(data=data)
self.fig.set_data(data)
def is_plot_active(self):
return self.fig is not None and self.fig.is_open()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment