feat(image_widget): all toolbar actions added

This commit is contained in:
2024-07-23 18:17:35 +02:00
committed by wyzula_j
parent c15035b6b7
commit 501eb923f1
7 changed files with 109 additions and 13 deletions
@@ -52,6 +52,7 @@ class JupyterConsoleWindow(QWidget): # pragma: no cover:
"wave": self.wave,
"bar": self.bar,
"cm": self.colormap,
"im": self.im,
}
)
@@ -158,12 +159,10 @@ class JupyterConsoleWindow(QWidget): # pragma: no cover:
self.fig0 = self.d0.add_widget("BECFigure")
data = np.random.rand(10, 2)
self.fig0.plot(data, label="2d Data")
self.fig0.image("eiger", vrange=(0, 100))
self.d1 = self.dock.add_dock(name="dock_1", position="right")
self.fig1 = self.d1.add_widget("BECFigure")
self.fig1.plot(x_name="samx", y_name="bpm4i")
self.fig1.plot(x_name="samx", y_name="bpm3a")
self.im = self.fig1.image("eiger")
self.d2 = self.dock.add_dock(name="dock_2", position="bottom")
self.wave = self.d2.add_widget("BECWaveformWidget", row=0, col=0)