mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 03:31:50 +02:00
fix(ring): set_min_max accepts floats
This commit is contained in:
@ -130,7 +130,7 @@ class Ring(BECConnector):
|
||||
def set_line_width(self, width: int):
|
||||
self.config.line_width = width
|
||||
|
||||
def set_min_max_values(self, min_value: int, max_value: int):
|
||||
def set_min_max_values(self, min_value: int | float, max_value: int | float):
|
||||
self.config.min_value = min_value
|
||||
self.config.max_value = max_value
|
||||
|
||||
|
Reference in New Issue
Block a user