Skip to content

Commit

Permalink
fix: change example to new numpy, add reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
milssky committed Jan 5, 2025
1 parent 3dd56e6 commit ebc4a95
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qucs/python/parse_result_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import warnings
from parse_result import QucsDataset

warnings.simplefilter("ignore", np.ComplexWarning)
warnings.simplefilter("ignore", np.exceptions.ComplexWarning)


# create the dat file to load with:
Expand Down
2 changes: 1 addition & 1 deletion qucs/python/parse_result_example_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import warnings
from parse_result import QucsDataset

warnings.simplefilter("ignore", np.ComplexWarning)
warnings.simplefilter("ignore", np.exceptions.ComplexWarning)


# to create the dat.ngspice file to load with:
Expand Down
11 changes: 11 additions & 0 deletions qucs/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
contourpy==1.3.1
cycler==0.12.1
fonttools==4.55.3
kiwisolver==1.4.8
matplotlib==3.10.0
numpy==2.2.1
packaging==24.2
pillow==11.1.0
pyparsing==3.2.1
python-dateutil==2.9.0.post0
six==1.17.0

0 comments on commit ebc4a95

Please sign in to comment.