ansys / pydpf-post

Data Processing Framework - Post Processing Module
https://post.docs.pyansys.com
MIT License
43 stars 9 forks source link

Contour Plot doesn't work properly #62

Open Fkaule opened 2 years ago

Fkaule commented 2 years ago

Hello,

i run the "01-static-analysis.py" and the contour plot doesn't work properly (also in other examples).

image

PProfizi commented 2 years ago

Hello @Fkaule , I will need more information regarding the conditions in which you obtained this issue. I have not been able to reproduce it with the latest version of PyDPF-Post and using my environment. Could you please let me know:

Fkaule commented 2 years ago

os: Windows 10 20H2 ANSYS version : 2022R1 enviroment: jupyter notebook pip list:

Package                           Version
--------------------------------- -------------------
-bconvert                         6.0.7
-upyterlab-kite                   2.0.2
aiohttp                           3.8.1
aiosignal                         1.2.0
alabaster                         0.7.12
altair                            4.1.0
anaconda-client                   1.7.2
anaconda-navigator                2.1.1
ansys-dpf-core                    0.4.0
ansys-dpf-post                    0.2.2
ansys-grpc-dpf                    0.4.0
ansys-tools                       0.0.0
anyio                             2.2.0
appdirs                           1.4.4
argon2-cffi                       20.1.0
array-to-latex                    0.82
astroid                           2.5
async-generator                   1.10
async-timeout                     4.0.2
attrs                             20.3.0
autobahn                          22.2.2
autograd                          1.3
autograd-gamma                    0.5.0
Automat                           20.2.0
Babel                             2.9.0
backcall                          0.2.0
backports.functools-lru-cache     1.6.4
backports.tempfile                1.0
backports.weakref                 1.0.post1
beautifulsoup4                    4.9.3
bleach                            3.3.0
brotlipy                          0.7.0
cachetools                        5.0.0
certifi                           2021.10.8
cffi                              1.14.5
chardet                           4.0.0
charset-normalizer                2.0.12
click                             7.1.2
clipboard                         0.0.4
clyent                            1.2.2
colorama                          0.4.4
conda                             4.11.0
conda-build                       3.20.5
conda-content-trust               0+unknown
conda-package-handling            1.7.3
conda-repo-cli                    1.0.4
conda-token                       0.3.0
conda-verify                      3.4.2
constantly                        15.1.0
cryptography                      3.4.7
cycler                            0.10.0
decorator                         5.0.6
defusedxml                        0.7.1
docutils                          0.16
entrypoints                       0.3
et-xmlfile                        1.1.0
filelock                          3.0.12
fonttools                         4.25.0
frozenlist                        1.3.0
future                            0.18.2
ghp-import                        1.1.0
gitdb                             4.0.7
GitPython                         3.1.14
glob2                             0.7
gnuplot-kernel                    0.4.1
google-api-core                   2.7.1
google-api-python-client          2.40.0
google-auth                       2.6.0
google-auth-httplib2              0.1.0
googleapis-common-protos          1.55.0
greenlet                          1.0.0
grpcio                            1.44.0
html5lib                          1.1
httplib2                          0.20.4
hyperlink                         21.0.0
idna                              2.10
imageio                           2.16.1
imagesize                         1.2.0
importlib-metadata                3.10.0
incremental                       21.3.0
ipykernel                         5.3.4
ipympl                            0.6.3
ipython                           7.20.0
ipython-genutils                  0.2.0
ipywidgets                        7.6.3
isort                             5.8.0
jedi                              0.18.0
Jinja2                            2.11.3
json5                             0.9.5
jsonschema                        3.2.0
jupyter-book                      0.10.2
jupyter-cache                     0.4.2
jupyter-client                    6.1.12
jupyter-contrib-core              0.3.3
jupyter-contrib-nbextensions      0.5.1
jupyter-core                      4.7.1
jupyter-highlight-selected-word   0.2.0
jupyter-kite                      2.0.2
jupyter-latex-envs                1.4.6
jupyter-nbextensions-configurator 0.4.1
jupyter-server                    1.4.1
jupyter-sphinx                    0.3.1
jupyterbook-latex                 0.2.0
jupyterlab                        3.0.6
jupyterlab-git                    0.23.3
jupyterlab-kite                   2.0.2
jupyterlab-pygments               0.1.2
jupyterlab-server                 2.4.0
jupyterlab-widgets                1.0.0
jupytext                          1.10.3
kaggle                            1.5.12
kiwisolver                        1.3.1
latexcodec                        2.0.1
lazy-object-proxy                 1.6.0
learntools                        0.3.4
libarchive-c                      2.9
linkify-it-py                     1.0.1
lxml                              4.6.3
markdown-it-py                    0.6.2
MarkupSafe                        1.1.1
matplotlib                        3.5.0
mccabe                            0.6.1
mdit-py-plugins                   0.2.6
menuinst                          1.4.16
metakernel                        0.27.5
mistune                           0.8.4
mkl-fft                           1.3.0
mkl-random                        1.2.1
mkl-service                       2.3.0
mplcursors                        0.4
mpmath                            1.2.1
multidict                         6.0.2
munkres                           1.1.4
myst-nb                           0.12.0
myst-parser                       0.13.6
navigator-updater                 0.2.1
nbclassic                         0.2.6
nbclient                          0.5.3
nbconvert                         6.0.7
nbdime                            2.1.0
nbformat                          5.1.3
nest-asyncio                      1.5.1
nested-lookup                     0.2.22
notebook                          6.3.0
numpy                             1.20.1
olefile                           0.46
openpyxl                          3.0.7
packaging                         20.9
pandas                            1.2.4
pandocfilters                     1.4.3
parso                             0.8.2
patsy                             0.5.1
pexpect                           4.8.0
pickleshare                       0.7.5
Pillow                            9.0.1
pip                               21.0.1
pkginfo                           1.7.0
progressbar2                      4.0.0
prometheus-client                 0.10.1
prompt-toolkit                    3.0.17
protobuf                          3.19.4
psutil                            5.8.0
psycopg2                          2.8.6
ptyprocess                        0.7.0
pyasn1                            0.4.8
pyasn1-modules                    0.2.8
pybtex                            0.24.0
pybtex-docutils                   1.0.0
pycosat                           0.6.3
pycparser                         2.20
pydata-sphinx-theme               0.4.3
pyee                              7.0.4
Pygments                          2.8.1
PyJWT                             2.1.0
pylint                            2.6.0
PyMySQL                           1.0.2
pyOpenSSL                         20.0.1
pyparsing                         2.4.7
pyperclip                         1.8.2
pyppeteer                         0.2.2
PyQt5                             5.15.6
PyQt5-Qt5                         5.15.2
PyQt5-sip                         12.9.0
pyrsistent                        0.17.3
PySocks                           1.7.1
python-dateutil                   2.8.1
python-slugify                    5.0.2
python-utils                      3.1.0
pytz                              2021.1
pyvista                           0.33.3
pywin32                           227
pywinpty                          0.5.7
PyYAML                            5.4.1
pyzmq                             20.0.0
QtPy                              1.9.0
rahmen-plots                      0.0.3
reliability                       0.5.5
requests                          2.25.1
rise                              5.7.1
rsa                               4.8
ruamel-yaml-conda                 0.15.100
SciencePlots                      1.0.9
scipy                             1.6.2
scooby                            0.5.12
seaborn                           0.11.1
Send2Trash                        1.5.0
setuptools                        52.0.0.post20210125
sip                               4.19.13
six                               1.15.0
smmap                             3.0.5
sniffio                           1.2.0
snowballstemmer                   2.1.0
soupsieve                         2.2.1
Sphinx                            3.5.4
sphinx-book-theme                 0.0.42
sphinx-comments                   0.0.3
sphinx-copybutton                 0.3.1
sphinx-panels                     0.5.2
sphinx-thebe                      0.0.8
sphinx-togglebutton               0.2.3
sphinxcontrib-applehelp           1.0.2
sphinxcontrib-bibtex              2.1.4
sphinxcontrib-devhelp             1.0.2
sphinxcontrib-htmlhelp            1.0.3
sphinxcontrib-jsmath              1.0.1
sphinxcontrib-qthelp              1.0.3
sphinxcontrib-serializinghtml     1.1.4
SQLAlchemy                        1.3.24
statsmodels                       0.12.2
sympy                             1.7.1
tabulate                          0.8.9
terminado                         0.9.4
testpath                          0.4.4
text-unidecode                    1.3
toml                              0.10.2
toolz                             0.11.1
tornado                           6.1
tqdm                              4.59.0
traitlets                         5.0.5
Twisted                           22.2.0
twisted-iocpsupport               1.0.2
txaio                             22.2.1
typing-extensions                 4.1.1
uc-micro-py                       1.0.1
ujson                             4.0.2
uritemplate                       4.1.1
urllib3                           1.26.4
vega-datasets                     0.9.0
vtk                               9.0.3
wcwidth                           0.2.5
webencodings                      0.5.1
websockets                        8.1
wheel                             0.36.2
widgetsnbextension                3.5.1
win-inet-pton                     1.1.0
wincertstore                      0.2
wrapt                             1.12.1
wslink                            1.4.3
xlrd                              2.0.1
xlwt                              1.3.0
xmltodict                         0.12.0
yarl                              1.7.2
zipp                              3.4.1
zope.interface                    5.4.0
akaszynski commented 2 years ago

I've seen this issue before when plotting off screen on windows. Can you quickly run the following and upload the following in this issue?

python -c "import pyvista; print(pyvista.Report())"
Fkaule commented 2 years ago

python -c "import pyvista; print(pyvista.Report())" output:

--------------------------------------------------------------------------------
  Date: Wed Mar 23 15:45:04 2022 Mitteleuropäische Zeit

                OS : Windows
            CPU(s) : 8
           Machine : AMD64
      Architecture : 64bit
               RAM : 15.8 GiB
       Environment : Python
        GPU Vendor : Intel
      GPU Renderer : Intel(R) Iris(R) Plus Graphics
       GPU Version : 4.5.0 - Build 26.20.100.7463

  Python 3.8.5 (default, Sep  3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)]

           pyvista : 0.33.3
               vtk : 9.0.3
             numpy : 1.20.1
           imageio : 2.16.1
           appdirs : 1.4.4
            scooby : 0.5.12
        matplotlib : 3.5.0
             PyQt5 : 5.15.6
           IPython : 7.20.0
             scipy : 1.6.2
              tqdm : 4.59.0

  Intel(R) oneAPI Math Kernel Library Version 2021.2-Product Build 20210312
  for Intel(R) 64 architecture applications
--------------------------------------------------------------------------------
PProfizi commented 2 years ago

@akaszynski Hey Alex, pinging you back on this issue as you said you might have seen it before.