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]:
273273 """Get a random color represented as a list of length 3"""
274274 # GH17525 use common._random_state to avoid resetting the seed
275275 rs = com .random_state (column )
276- return rs .rand (3 ).tolist ()
276+ return rs .rand (3 ).tolist () # type: ignore[return-value]
277277
278278
279279def _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):
769769 np .datetime64 ("NaT" ),
770770 np .timedelta64 ("NaT" ),
771771 ]
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]
774774)
775775
776776inf_vals = [
You can’t perform that action at this time.
0 commit comments