Skip to content

Commit

Permalink
Update ansys-sphinx-theme (#2876)
Browse files Browse the repository at this point in the history
* Update ansys-sphinx-theme

* Update the image cache

* fixing test tolerance

---------

Co-authored-by: germa89 <[email protected]>
  • Loading branch information
germa89 and germa89 authored Mar 14, 2024
1 parent 085bbd3 commit 50d3b15
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/codespaces-docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sphinx==7.2.6
ansys-dpf-core==0.10.1
ansys-mapdl-reader==0.53.0
ansys-sphinx-theme==0.14.0
ansys-sphinx-theme==0.14.1
grpcio==1.62.0
imageio-ffmpeg==0.4.9
imageio==2.34.0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ doc = [
"sphinx==7.2.6",
"ansys-dpf-core==0.10.1",
"ansys-mapdl-reader==0.53.0",
"ansys-sphinx-theme==0.14.0",
"ansys-sphinx-theme==0.14.1",
"grpcio==1.62.0",
"imageio-ffmpeg==0.4.9",
"imageio==2.34.0",
Expand Down
Binary file modified tests/.image_cache/bc_plot_options[True-True-False].png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/.image_cache/bc_plot_options[True-True-True].png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions tests/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,8 @@ def test_bc_plot_options(
plot_bc_legend,
plot_bc_labels,
):
if plot_bc_legend:
# The legend generates highly variance than other tests
# But it seems not always.
if plot_bc_legend or plot_bc_labels:
# The legend and labels generate highly variance than other tests
verify_image_cache.high_variance_test = True

p = mapdl.nplot(
Expand Down

0 comments on commit 50d3b15

Please sign in to comment.