Skip to content

Commit

Permalink
switch to np.nan for numpy 2.0 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
fsoubelet committed Jul 25, 2024
1 parent 4af0a7d commit 84c85d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylhc_submitter/sixdesk_tools/post_process_da.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def _plot_seeds(ax, df_da: TfsDataFrame, da_col: str, interpolated: bool) -> Tup
seed_mask = df_da[SEED] == seed
angles = np.deg2rad(df_da.loc[seed_mask, ANGLE])
da_data = df_da.loc[seed_mask, da_col]
da_data.loc[da_data == 0] = np.NaN
da_data.loc[da_data == 0] = np.nan
if interpolated:
seed_h, _, _ = _interpolated_line(
ax,
Expand Down

0 comments on commit 84c85d5

Please sign in to comment.