ansys / pyfluent-visualization

Visualize Ansys Fluent simulations using Python
https://visualization.fluent.docs.pyansys.com
MIT License
27 stars 3 forks source link

Error while plotting monitors #313

Closed mkvani closed 1 year ago

mkvani commented 1 year ago

πŸ” Before submitting the issue

🐞 Description of the bug

Error while plotting residuals using Fluent visualization's matplotlib capabilities. The error is:

"No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument."

πŸ“ Steps to reproduce

1 ) Run this tutorial "Postprocessing using PyVista and Matplotlib"

2) At the line 248 (for plotting residual), it shows this error:

"No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument."

πŸ’» Which operating system are you using?

Windows

πŸ“€ Which ANSYS version are you using?

ANSYS 23R2

🐍 Which Python version are you using?

3.8

πŸ“¦ Installed packages

alabaster==0.7.13
ansys-api-fluent==0.3.12
ansys-api-platform-instancemanagement==1.0.0b3
ansys-fluent-core==0.16.0
ansys-fluent-parametric==0.7.1
ansys-fluent-visualization==0.7.1
ansys-platform-instancemanagement==1.1.1
ansys-sphinx-theme==0.8.1
asttokens==2.2.1
attrs==23.1.0
Babel==2.12.1
backcall==0.2.0
beautifulsoup4==4.12.2
bleach==6.0.0
certifi==2023.7.22
charset-normalizer==3.2.0
colorama==0.4.6
comm==0.1.3
contourpy==1.1.0
cycler==0.11.0
debugpy==1.6.7
decorator==5.1.1
defusedxml==0.7.1
docker==6.1.3
docutils==0.19
et-xmlfile==1.1.0
exceptiongroup==1.1.2
executing==1.2.0
fastjsonschema==2.18.0
fonttools==4.41.1
googleapis-common-protos==1.59.1
grpcio==1.56.2
h5py==3.9.0
idna==3.4
imagesize==1.4.1
importlib-metadata==6.8.0
importlib-resources==6.0.0
iniconfig==2.0.0
ipykernel==6.24.0
ipython==8.12.2
ipywidgets==8.0.7
jedi==0.18.2
Jinja2==3.1.2
jsonschema==4.18.4
jsonschema-specifications==2023.7.1
jupyter-client==8.3.0
jupyter-core==5.3.1
jupyter-sphinx==0.4.0
jupyterlab-pygments==0.2.2
jupyterlab-widgets==3.0.8
kiwisolver==1.4.4
livereload==2.6.3
lxml==4.9.3
MarkupSafe==2.1.3
matplotlib==3.6.3
matplotlib-inline==0.1.6
mistune==3.0.1
nbclient==0.8.0
nbconvert==7.7.2
nbformat==5.9.1
nest-asyncio==1.5.6
numpy==1.24.4
numpydoc==1.5.0
openpyxl==3.1.2
packaging==23.1
pandas==1.5.3
pandocfilters==1.5.0
parso==0.8.3
pickleshare==0.7.5
Pillow==10.0.0
pkgutil-resolve-name==1.3.10
platformdirs==3.9.1
plotly==5.15.0
pluggy==1.2.0
pooch==1.7.0
prompt-toolkit==3.0.39
protobuf==3.20.3
protoc-gen-swagger==0.1.0
psutil==5.9.5
pure-eval==0.2.2
pydata-sphinx-theme==0.9.0
Pygments==2.15.1
pypandoc==1.10
pyparsing==3.1.0
PySide6==6.5.1.1
PySide6-Addons==6.5.1.1
PySide6-Essentials==6.5.1.1
pytest==7.4.0
pytest-sphinx==0.5.0
python-dateutil==2.8.2
python-pptx==0.6.21
pytz==2023.3
pyvista==0.41.1
pyvistaqt==0.11.0
pywin32==306
PyYAML==6.0.1
pyzmq==25.1.0
QtPy==2.3.1
referencing==0.30.0
requests==2.31.0
rpds-py==0.9.2
scooby==0.7.2
seaborn==0.12.2
shiboken6==6.5.1.1
six==1.16.0
snowballstemmer==2.2.0
soupsieve==2.4.1
sphinx==5.3.0
sphinx-autobuild==2021.3.14
sphinx-autodoc-typehints==1.21.8
sphinx-copybutton==0.5.1
sphinx-gallery==0.11.1
sphinx-notfound-page==0.8.3
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-websupport==1.2.4
sphinxemoji==0.2.0
stack-data==0.6.2
tenacity==8.2.2
tinycss2==1.2.1
tomli==2.0.1
tornado==6.3.2
traitlets==5.9.0
typing-extensions==4.7.1
urllib3==2.0.4
vtk==9.2.6
wcwidth==0.2.6
webencodings==0.5.1
websocket-client==1.6.1
widgetsnbextension==4.0.8
XlsxWriter==3.1.2
zipp==3.16.2
mkvani commented 1 year ago

I see that there is already one issue filed and resolution merged. I will check it again after the release is available.