0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 11:41:49 +02:00

fix: monitor_config_validator.py valid color is Literal['black','white']

This commit is contained in:
wyzula-jan
2023-12-15 13:19:16 +01:00
parent a706da2490
commit 86c5f25205

View File

@ -189,7 +189,7 @@ class PlotSettings(BaseModel):
scan_types (bool): Indicates if the configuration is for different scan types.
"""
background_color: str
background_color: Literal["black", "white"] = "black"
axis_width: Optional[int] = 2
axis_color: Optional[str] = None
num_columns: int