Skip to content

Commit 1626108

Browse files
committed
CLN: drop list comprehension for generator expr
1 parent fe66213 commit 1626108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/plotting/_matplotlib/style.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def _is_floats_color(color: Union[Color, Collection[Color]]) -> bool:
136136
return bool(
137137
is_list_like(color)
138138
and (len(color) == 3 or len(color) == 4)
139-
and all([isinstance(x, float) for x in color])
139+
and all(isinstance(x, float) for x in color)
140140
)
141141

142142

0 commit comments

Comments
 (0)