enthought / enthought/mayavi

deprecated np.NAN in coil_design_application.py example

Open Beginner friendly
#1,416 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

np.NAN was deprecated in NumPy 2.0 and removed in NumPy 2.3+.

Should be replaced with np.nan (the canonical spelling) in the four assignments
that mask out-of-range field values (lines 188-191)

Contributor guide

No contributing guide indexed for this repository

Research direction

Open coil_design_application.py and inspect the four assignments at lines 188-191 that mask out-of-range field values. Replace the deprecated spelling with the canonical NumPy spelling, then verify those assignments no longer use np.NAN and that the example still runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
92/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.