Skip to content

Commit 5cec0eb

Browse files
committed
Fix pyright error due to pandas type stub update
1 parent ffb50d2 commit 5cec0eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shiny/plotutils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ def brushed_points(
104104
use_y = "y" in brush["direction"]
105105

106106
# Filter out x and y values
107-
keep_rows: pd.Series[bool] = pd.Series(True, index=new_df.index)
107+
keep_rows: pd.Series[bool] = pd.Series(
108+
True, index=new_df.index # pyright: ignore[reportUnknownMemberType]
109+
)
108110
if use_x:
109111
if xvar is None and "x" in brush["mapping"]:
110112
xvar = brush["mapping"]["x"]

0 commit comments

Comments
 (0)