Skip to content

Commit 9e16208

Browse files
authored
chore: Use np.nan instead of np.NaN (#1468)
1 parent b6596a9 commit 9e16208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shiny/plotutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def near_points(
225225
# For no current coordinfo
226226
if coordinfo is None:
227227
if add_dist:
228-
new_df["dist"] = np.NaN
228+
new_df["dist"] = np.nan
229229

230230
if all_rows:
231231
new_df["selected_"] = False

0 commit comments

Comments
 (0)