1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-05-10 08:42:12 +02:00

fix(plot_base): .plot removed from plot_base.py, because there is no use case for it

This commit is contained in:
2024-06-06 12:29:21 +02:00
parent 4852076e4a
commit 82e2c898d2
4 changed files with 27 additions and 64 deletions
-22
View File
@@ -128,17 +128,6 @@ class BECPlotBase(RPCBase):
lock(bool): True to lock, False to unlock.
"""
@rpc_call
def plot(self, data_x: "list | np.ndarray", data_y: "list | np.ndarray", **kwargs):
"""
Plot custom data on the plot widget. These data are not saved in config.
Args:
data_x(list|np.ndarray): x-axis data
data_y(list|np.ndarray): y-axis data
**kwargs: Keyword arguments for the plot.
"""
@rpc_call
def remove(self):
"""
@@ -1139,17 +1128,6 @@ class BECImageShow(RPCBase):
lock(bool): True to lock, False to unlock.
"""
@rpc_call
def plot(self, data_x: "list | np.ndarray", data_y: "list | np.ndarray", **kwargs):
"""
Plot custom data on the plot widget. These data are not saved in config.
Args:
data_x(list|np.ndarray): x-axis data
data_y(list|np.ndarray): y-axis data
**kwargs: Keyword arguments for the plot.
"""
@rpc_call
def remove(self):
"""