ansys / pydpf-post

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

Fix DataObject.plot() #246

Open PProfizi opened 1 year ago

PProfizi commented 1 year ago

Before submitting the issue

Description of the bug

While implementing Mesh.plot(data=DataObject), realized that DataObject.plot() is not working properly.

Steps To Reproduce

import ansys.dpf.post as dpf from ansys.dpf.post import examples

simulation = dpf.load_simulation(examples.allkindofcomplexity) displacement = simulation.displacement(component='X') displacement.plot()

Which Operating System are you using?

Windows

Which Python version are you using?

3.7

Installed packages

NA