Skip to content

Commit

Permalink
fix package install
Browse files Browse the repository at this point in the history
  • Loading branch information
akaszynski committed Dec 11, 2022
1 parent 66ee0e4 commit 04fd088
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/testing-and-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,13 @@ jobs:
cd tests/
python -c "from ansys.mapdl import reader as pymapdl_reader; print(pymapdl_reader.Report())"
- name: Build Documentation
- name: Install OS packages
run: |
sudo apt-get update
sudo apt-get install zip pandoc -qy
- name: Build Documentation
run: |
pip install -r requirements/requirements_docs.txt --disable-pip-version-check
make -C doc html
cd doc/build/html/
Expand Down Expand Up @@ -260,7 +264,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down
2 changes: 1 addition & 1 deletion ansys/mapdl/reader/cyclic_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -1872,7 +1872,7 @@ def _plot_cyclic_point_scalars(
full_screen = kwargs.pop("full_screen", False)
screenshot = kwargs.pop("screenshot", None)
text_color = kwargs.pop("text_color", None)
kwargs.setdefault("cmap", "viridis")
kwargs.setdefault("cmap", "jet")
if scalars is not None:
kwargs.setdefault("rng", [np.nanmin(scalars), np.nanmax(scalars)])

Expand Down
2 changes: 1 addition & 1 deletion ansys/mapdl/reader/examples/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def solve_km():
scalars=n,
stitle="Normalized\nDisplacement",
flip_scalars=True,
cmap="viridis",
cmap="jet",
)
# Update the coordinates by adding the mode shape to the grid
pl.update_coordinates(grid.points + disp / 80, render=False)
Expand Down
2 changes: 1 addition & 1 deletion ansys/mapdl/reader/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def _configure_pyvista():
import pyvista as pv

# pv.global_theme.interactive = True
pv.global_theme.cmap = "viridis"
pv.global_theme.cmap = "jet"
pv.global_theme.font.family = "courier"
pv.global_theme.title = "PyMAPDL-Reader"

Expand Down
4 changes: 2 additions & 2 deletions ansys/mapdl/reader/rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -2999,7 +2999,7 @@ def _plot_point_scalars(
rng = kwargs.pop("rng", None)

return_cpos = kwargs.pop("return_cpos", False)
cmap = kwargs.pop("cmap", "viridis")
cmap = kwargs.pop("cmap", "jet")
window_size = kwargs.pop("window_size", None)
full_screen = kwargs.pop("full_screen", None)
notebook = kwargs.pop("notebook", None)
Expand Down Expand Up @@ -3243,7 +3243,7 @@ def _animate_point_scalars(
scalars[i] = scalars[i][ind]

rng = kwargs.pop("rng", [np.min(scalars), np.max(scalars)])
cmap = kwargs.pop("cmap", "viridis")
cmap = kwargs.pop("cmap", "jet")
window_size = kwargs.pop("window_size", [1024, 768])
full_screen = kwargs.pop("full_screen", False)
notebook = kwargs.pop("notebook", False)
Expand Down

0 comments on commit 04fd088

Please sign in to comment.