Label format of BECFigure
Currently, changing the x/y_label also changes the color of the text. See attached image. In addition, if you change theme from dark to light, it creates multiple entries of the manually set label. To reproduce
plt2 = gui.add_dock().add_widget("BECFigure").plot(dev.bpm4i)
scans.line_scan(dev.samx, -3, 3 ,steps=50, exp_time=0.02,relative=False)
plt.set_x_label("haha", 20)
fig.change_theme("dark")
fig.change_theme("light")
fig.change_theme("dark")
fig.change_theme("light")