Skip to content

Commit 00b6f94

Browse files
committed
TST: Remove unnecessary type ignore
1 parent 1b2cbb6 commit 00b6f94

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plotnine/stats/stat.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,9 +337,7 @@ def compute_panel(self, data: pd.DataFrame, scales: pos_scales):
337337
unique = uniquecols(old)
338338
missing = unique.columns.difference(new.columns)
339339
idx = [0] * len(new)
340-
u = unique.loc[idx, missing].reset_index( # pyright: ignore
341-
drop=True
342-
)
340+
u = unique.loc[idx, missing].reset_index(drop=True)
343341
# concat can have problems with empty dataframes that
344342
# have an index
345343
if u.empty and len(u):

0 commit comments

Comments
 (0)