Skip to content

Commit cada2c0

Browse files
committed
fix typing
1 parent aa1231f commit cada2c0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plotpy/widgets/colormap_widget.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
from plotpy.widgets._colormap_slider import QColorMapSlider
2222

2323
ColorTypeT = TypeVar("ColorTypeT", bound=Union[QG.QColor, int])
24-
QColorInitTypes = (
25-
QG.QColor | int | tuple[int, int, int, int] | str | QC.Qt.GlobalColor | None
26-
)
24+
QColorInitTypes = Union[
25+
QG.QColor, int, tuple[int, int, int, int], str, QC.Qt.GlobalColor, None
26+
]
2727

2828

2929
class CustomQwtLinearColormap(QwtLinearColorMap):

0 commit comments

Comments
 (0)