New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyVista is currently incompatible with ParaView #3224
Comments
I think if |
I can deal with the |
Thanks, @dcbr! I'll take on handling the other import(s) |
…2868) * Improve Charts compatibility with older and upcoming VTK versions. * Fix ChartBox and ChartPie geometry issues * Add 'revert to defaults' case again to test_axis_tick_locations * Fix axis memory leak * Add fix for #3224 * Add no cover pragma and use proxy instead of weakref Co-authored-by: Alex Kaszynski <akascap@gmail.com> Co-authored-by: Bane Sullivan <banesullivan@gmail.com>
Describe the bug, what's wrong, and what you expected.
The following imports do not work when trying to import PyVista within ParaView's Python shell (using the VTK python bindings bundled with ParaView):
pyvista/pyvista/_vtk.py
Line 370 in f7800c9
pyvista/pyvista/_vtk.py
Line 385 in f7800c9
Since both of these classes are used in PyVista, this poses a bit of an issue.
vtkImageDilateErode3D
is an easy to deal with as it is used within theimage_dilate_erode()
filter -- this means it can be ignored. Unfortunately, sincevtkPythonItem
is directly used for a subclass wrapping, we have to disable quite a bit of code to get PyVista working:pyvista/pyvista/plotting/charts.py
Line 980 in d3e01ee
Additionally, there are some issue with
scooby
as well which I need to resolve.Steps to reproduce the bug.
From the ParaView Python shell (embedded in the GUI):
System Information
Screenshots
No response
The text was updated successfully, but these errors were encountered: