0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 19:21:50 +02:00

refactor(image_item): removed outdated image item config

This commit is contained in:
2025-06-04 10:45:52 +02:00
committed by Klaus Wakonig
parent 92dade0950
commit 3e789ca35b

View File

@ -21,9 +21,6 @@ logger = bec_logger.logger
# noinspection PyDataclass # noinspection PyDataclass
class ImageItemConfig(ConnectionConfig): # TODO review config class ImageItemConfig(ConnectionConfig): # TODO review config
parent_id: str | None = Field(None, description="The parent plot of the image.") parent_id: str | None = Field(None, description="The parent plot of the image.")
monitor: str | None = Field(None, description="The name of the monitor.")
monitor_type: Literal["1d", "2d", "auto"] = Field("auto", description="The type of monitor.")
source: str | None = Field(None, description="The source of the curve.")
color_map: str | None = Field("plasma", description="The color map of the image.") color_map: str | None = Field("plasma", description="The color map of the image.")
downsample: bool | None = Field(True, description="Whether to downsample the image.") downsample: bool | None = Field(True, description="Whether to downsample the image.")
opacity: float | None = Field(1.0, description="The opacity of the image.") opacity: float | None = Field(1.0, description="The opacity of the image.")