Skip to content

Commit 3629af0

Browse files
committed
feat: Integrate Matplotlib
1 parent e919bf2 commit 3629af0

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

.github/workflows/ci_cd.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
python-version: ['3.10', '3.11', '3.12', '3.13']
6161
steps:
6262
- name: Install test requirements
63-
run: pip install -r requirements/requirements_test.txt
63+
run: pip install -r matplotlib>=3.6.0
6464

6565
- uses: ansys/actions/build-wheelhouse@v8
6666
with:
@@ -79,7 +79,7 @@ jobs:
7979
fail-fast: false
8080
steps:
8181
- name: Install test requirements
82-
run: pip install -r requirements/requirements_test.txt
82+
run: pip install matplotlib>=3.6.0
8383

8484
- uses: ansys/actions/tests-pytest@v8
8585
with:

requirements/requirements_test.txt

-1
This file was deleted.

tests/test_quantity.py

-3
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,6 @@ def test_array():
141141
assert np.array_equal(list_meter.value, arr)
142142

143143
except ImportError:
144-
with pytest.raises(NumPyRequired):
145-
e1 = Quantity(7, "kg")
146-
147144
with pytest.raises(NumPyRequired):
148145
e2 = Quantity([7, 8, 9], "kg")
149146

0 commit comments

Comments
 (0)