File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ def _random_color(column: int) -> list[float]:
273
273
"""Get a random color represented as a list of length 3"""
274
274
# GH17525 use common._random_state to avoid resetting the seed
275
275
rs = com .random_state (column )
276
- return rs .rand (3 ).tolist ()
276
+ return rs .rand (3 ).tolist () # type: ignore[return-value]
277
277
278
278
279
279
def _is_single_string_color (color : Color ) -> bool :
Original file line number Diff line number Diff line change @@ -769,8 +769,8 @@ def test_empty_like(self):
769
769
np .datetime64 ("NaT" ),
770
770
np .timedelta64 ("NaT" ),
771
771
]
772
- + [np .datetime64 ("NaT" , unit ) for unit in m8_units ]
773
- + [np .timedelta64 ("NaT" , unit ) for unit in m8_units ]
772
+ + [np .datetime64 ("NaT" , unit ) for unit in m8_units ] # type: ignore[call-overload]
773
+ + [np .timedelta64 ("NaT" , unit ) for unit in m8_units ] # type: ignore[call-overload]
774
774
)
775
775
776
776
inf_vals = [
You can’t perform that action at this time.
0 commit comments