diff --git a/plotnine/scales/scale_color.py b/plotnine/scales/scale_color.py index ca91dd0d1..599e4baf6 100644 --- a/plotnine/scales/scale_color.py +++ b/plotnine/scales/scale_color.py @@ -492,7 +492,7 @@ class scale_fill_cmap_d(scale_color_cmap_d): @dataclass -class scale_color_datetime(scale_datetime, scale_color_cmap): +class scale_color_datetime(scale_datetime, scale_color_cmap): # pyright: ignore[reportIncompatibleVariableOverride] """ Datetime color scale """ diff --git a/plotnine/scales/scale_xy.py b/plotnine/scales/scale_xy.py index 42d925d6b..73815726b 100644 --- a/plotnine/scales/scale_xy.py +++ b/plotnine/scales/scale_xy.py @@ -267,7 +267,7 @@ class scale_y_continuous(scale_position_continuous): # Transformed scales @dataclass(kw_only=True) -class scale_x_datetime(scale_datetime, scale_x_continuous): +class scale_x_datetime(scale_datetime, scale_x_continuous): # pyright: ignore[reportIncompatibleVariableOverride] """ Continuous x position for datetime data points """ @@ -276,7 +276,7 @@ class scale_x_datetime(scale_datetime, scale_x_continuous): @dataclass(kw_only=True) -class scale_y_datetime(scale_datetime, scale_y_continuous): +class scale_y_datetime(scale_datetime, scale_y_continuous): # pyright: ignore[reportIncompatibleVariableOverride] """ Continuous y position for datetime data points """ diff --git a/pyproject.toml b/pyproject.toml index 55ba3bfc5..871fcf20f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,7 +77,7 @@ dev = [ ] typing = [ - "pyright==1.1.386", + "pyright==1.1.387", "ipython", "pandas-stubs", ]