Comments (8)
Can you provide any more information? Any error or feedback in the browser console?
Also make sure to clear your bowser cache.
from pyvista.
I further tried the following cases but the results are still the same. However, I do not see any of the console errors above in my case (there are some other errors, which do not seem to be related to this plot).
- creating a clean new conda environment with up-to-date vtk, pyvista, trame packages as shown above
- switch from osmesa version of vtk to qt version
- conda revert to revision somehow always fails for me, so I manually downgraded these packages to the version that was working for me: trame (3.6.0->3.5.2), trame-vuetify (2.4.3->2.4.2), pyvista (0.43.5->0.43.3)
It's quite surprising that it still does not work after I reverted the 3 key packages. Is there maybe something else I missed?
from pyvista.
Downgrading jupyterlab from 4.1.6 to 3.6.6 worked for me.
from pyvista.
Hello, I met the plotting problem as well yesterday.
This was solved by installing the pyvista package with the [all,trame] extras:
pip install pyvista[all,trame]
I got this idea from the offical website guide from pyvista: https://tutorial.pyvista.org/tutorial/00_jupyter/index.html
The installation recommanded from this link is originally :
pip install 'jupyterlab>=3' ipywidgets 'pyvista[all,trame]'
However, at first, it went wrong, like this :
(env003) F:\>pip install 'jupyterlab>=3' ipywidgets 'pyvista[all,trame]'
ERROR: Invalid requirement: "'jupyterlab"
Then i tried :
pip install pyvista[all,trame]
Finally, the interactive plotting works again.
In the end, my packages versions below:
python 3.9.19 h1aa4202_0
vtk 9.3.0 pypi_0 pypi
trame 3.6.0 pypi_0 pypi
trame-client 3.0.2 pypi_0 pypi
trame-server 3.0.0 pypi_0 pypi
trame-vtk 2.8.5 pypi_0 pypi
trame-vuetify 2.4.3 pypi_0 pypi
jupyter 1.0.0 pypi_0 pypi
jupyter-client 8.6.1 pypi_0 pypi
jupyter-console 6.6.3 pypi_0 pypi
jupyter-core 5.7.2 pypi_0 pypi
jupyter-events 0.10.0 pypi_0 pypi
jupyter-lsp 2.2.5 pypi_0 pypi
jupyter-server 2.14.0 pypi_0 pypi
jupyter-server-proxy 4.1.2 pypi_0 pypi
jupyter-server-terminals 0.5.3 pypi_0 pypi
jupyterlab 4.1.6 pypi_0 pypi
jupyterlab-pygments 0.3.0 pypi_0 pypi
jupyterlab-server 2.26.0 pypi_0 pypi
jupyterlab-widgets 3.0.10 pypi_0 pypi
from pyvista.
I tried it in the following environment. It worked fine. Could you please uninstall vtk
, vtk-base
and vtk-io-ffmpeg
once and install them again with conda?
# packages in environment at /home/tetsuo/anaconda3:
#
# Name Version Build Channel
pyvista 0.43.5 pyhd8ed1ab_0 conda-forge
trame 3.6.0 pyhd8ed1ab_0 conda-forge
trame-client 3.0.1 pyhd8ed1ab_0 conda-forge
trame-components 2.3.0 pyhd8ed1ab_0 conda-forge
trame-server 3.0.0 pyhd8ed1ab_0 conda-forge
trame-vtk 2.8.5 pyhd8ed1ab_0 conda-forge
trame-vuetify 2.4.3 pyhd8ed1ab_0 conda-forge
vtk 9.2.6 qt_py310h1234567_220 conda-forge
vtk-base 9.2.6 qt_py310h1234567_220 conda-forge
vtk-io-ffmpeg 9.2.6 qt_py310h1234567_220 conda-forge
from pyvista.
I have the same issue. Reinstalling vtk, vtk-base and vtk-io-ffmpeg from conda didn't help.
from pyvista.
Can you provide any more information? Any error or feedback in the browser console? Also make sure to clear your bowser cache.
Thank you, sir. I tried clearing the cache but not helping
Error in the browser console (The first error and failed to fetch ipywidgets warning occurs on openning the notebook, the second error occurs on executing p.show()):
My environment from pv.Report()
Code to repreducing the loading problem:
from pyvista.
Side note the conda forge recipe for trame is not bounding wslink properly when installing trame<3.6
. You will have to manually force wslink<2
too.
from pyvista.
Related Issues (20)
- multi_ray_trace is not working under MPI (mpi4py | OpenMPI 3.1.4, CentOS7.6) HOT 4
- when mouse panning volume rendering looks weird HOT 3
- Scrollbars in interactive viewer in jupyter HOT 4
- Adding distortion parameters on the Plotter.Camera
- Many issues with `contour_labeled`, consider deprecating and rewriting as `contour_labels`
- Colors missing from interactive `MultiBlock` plots
- update scalars does not applies correct alpha values HOT 1
- Plot 2d with pyvista
- Incorrect color mapping using `categories=True` for non-linear categories
- Segmentation fault on boolean pyvista operation
- Python kernel crashes after running a simple example HOT 1
- `rgb` parameter for `add_composite` not working
- Deprecate using the `translate` method in `ImageData` HOT 1
- pyvista.CircularArc cannot create arc with 6 segments
- Allow clearing cell and point data for all blocks in `MultiBlock` objects
- stack overflow when computing delaunay_2d on bigger point clouds
- Allow reading of files from remote file stores such as S3 [willing to contribute a PR!] HOT 5
- Unable to show true whites/blacks in grayscale images due to linear interpolation
- Property `point_normals` does not return active normals HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyvista.