Open javoha opened 5 months ago
Would you please include a import pyvista;print(pyvista.Report())
for the Linux system this is working on and the windows system this is not working on.
Further, would you please annotate the screenshots a bit more clearly to help me understand which components are not colored correctly
Hi, thanks for taking a look at this. I annotated the image in my first post. You can also compare it to the linked example (from a linux) where the colors are correct. We ran it on multiple windows and linux systems and were able to reproduce the behavior.
Here is the report from my windows (wrong result):
Date: Mon May 06 09:25:01 2024 W. Europe Daylight Time
OS : Windows
CPU(s) : 12
Machine : AMD64
Architecture : 64bit
RAM : 15.9 GiB
Environment : Jupyter
GPU Vendor : Intel
GPU Renderer : Intel(R) UHD Graphics 630
GPU Version : 4.5.0 - Build 26.20.100.7261
MathText Support : False
Python 3.12.2 | packaged by Anaconda, Inc. | (main, Feb 27 2024, 17:28:07) [MSC v.1916 64 bit (AMD64)]
pyvista : 0.43.5
vtk : 9.3.0
numpy : 1.26.4
matplotlib : 3.8.0
scooby : 0.9.2
pooch : 1.8.1
pillow : 10.2.0
imageio : 2.33.1
PyQt5 : 5.15.10
IPython : 8.20.0
colorcet : 3.1.0
ipywidgets : 7.8.1
scipy : 1.11.3
tqdm : 4.65.0
jupyterlab : 4.0.11
nest_asyncio : 1.6.0
And here the report from a linux (correct result):
Date: Mon May 06 09:35:42 2024 CEST
OS : Linux
CPU(s) : 12
Machine : x86_64
Architecture : 64bit
RAM : 15.4 GiB
Environment : Python
File system : ext4
GPU Vendor : Microsoft Corporation
GPU Renderer : D3D12 (Intel(R) Iris(R) Xe Graphics)
GPU Version : 4.1 (Core Profile) Mesa 23.0.4-0ubuntu1~22.04.1
MathText Support : True
Python 3.12.3 | packaged by conda-forge | (main, Apr 15 2024, 18:38:13) [GCC 12.3.0]
pyvista : 0.43.6
vtk : 9.3.0
numpy : 1.26.4
matplotlib : 3.8.4
scooby : 0.9.2
pooch : 1.8.1
pillow : 10.3.0
imageio : 2.34.1
IPython : 8.24.0
scipy : 1.13.0
jupyterlab : 4.1.8
nest_asyncio : 1.6.0
Cheers, Jan
Thank you! I'll try to take a look into this!
Describe the bug When using the 3d plotting routine for certain models, the color of the inputa data (surface points and orientations) does not match the colors of the respective results (surface meshes, lith block). This only happens if
show_lith_block=True
, and we tracked it down to only happen on Windows system, not on Linux. It also seems to be related to models having multiple structural elements in a structural group.To Reproduce Run the following example on a Windows system: Example7.
Expected behavior Colors should match respective results on all systems.
Screenshots
Additional context @Leguark suggested that you might be able to help @banesullivan, as this seems to be at least partially pyvista related.
Edit: Annotated example.