Skip to content

Commit 066b234

Browse files
committed
fix package install
1 parent 52080aa commit 066b234

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

.github/workflows/testing-and-deployment.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,13 @@ jobs:
5858
cd tests/
5959
python -c "from ansys.mapdl import reader as pymapdl_reader; print(pymapdl_reader.Report())"
6060
61-
- name: Build Documentation
61+
- name: Install OS packages
6262
run: |
63+
sudo apt-get update
6364
sudo apt-get install zip pandoc -qy
65+
66+
- name: Build Documentation
67+
run: |
6468
pip install -r requirements/requirements_docs.txt --disable-pip-version-check
6569
make -C doc html
6670
cd doc/build/html/
@@ -260,7 +264,7 @@ jobs:
260264
runs-on: ubuntu-latest
261265
steps:
262266
- name: Set up Python
263-
uses: actions/setup-python@v1
267+
uses: actions/setup-python@v4
264268
with:
265269
python-version: 3.9
266270

ansys/mapdl/reader/cyclic_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,7 @@ def _plot_cyclic_point_scalars(
18721872
full_screen = kwargs.pop("full_screen", False)
18731873
screenshot = kwargs.pop("screenshot", None)
18741874
text_color = kwargs.pop("text_color", None)
1875-
kwargs.setdefault("cmap", "viridis")
1875+
kwargs.setdefault("cmap", "jet")
18761876
if scalars is not None:
18771877
kwargs.setdefault("rng", [np.nanmin(scalars), np.nanmax(scalars)])
18781878

ansys/mapdl/reader/examples/examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def solve_km():
200200
scalars=n,
201201
stitle="Normalized\nDisplacement",
202202
flip_scalars=True,
203-
cmap="viridis",
203+
cmap="jet",
204204
)
205205
# Update the coordinates by adding the mode shape to the grid
206206
pl.update_coordinates(grid.points + disp / 80, render=False)

ansys/mapdl/reader/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def _configure_pyvista():
184184
import pyvista as pv
185185

186186
# pv.global_theme.interactive = True
187-
pv.global_theme.cmap = "viridis"
187+
pv.global_theme.cmap = "jet"
188188
pv.global_theme.font.family = "courier"
189189
pv.global_theme.title = "PyMAPDL-Reader"
190190

ansys/mapdl/reader/rst.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2999,7 +2999,7 @@ def _plot_point_scalars(
29992999
rng = kwargs.pop("rng", None)
30003000

30013001
return_cpos = kwargs.pop("return_cpos", False)
3002-
cmap = kwargs.pop("cmap", "viridis")
3002+
cmap = kwargs.pop("cmap", "jet")
30033003
window_size = kwargs.pop("window_size", None)
30043004
full_screen = kwargs.pop("full_screen", None)
30053005
notebook = kwargs.pop("notebook", None)
@@ -3243,7 +3243,7 @@ def _animate_point_scalars(
32433243
scalars[i] = scalars[i][ind]
32443244

32453245
rng = kwargs.pop("rng", [np.min(scalars), np.max(scalars)])
3246-
cmap = kwargs.pop("cmap", "viridis")
3246+
cmap = kwargs.pop("cmap", "jet")
32473247
window_size = kwargs.pop("window_size", [1024, 768])
32483248
full_screen = kwargs.pop("full_screen", False)
32493249
notebook = kwargs.pop("notebook", False)

0 commit comments

Comments
 (0)