You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.....\lib\site-packages\pyvista\plotting\tools.py:622: PyVistaDeprecationWarning: The usage of parse_color is deprecated in favor of the new Color class.
warnings.warn(
(0.20392156862745098, 0.8313725490196079, 0.16470588235294117)
pv.Color('#34d42a')
Color(hex='#34d42aff')
...
Expected behavior
No DeprecationWarning
Solution
Replace parse_color with the new Color class. A PR will be opened as soon as a possible fix is confirmed by the PyVista devs.
The text was updated successfully, but these errors were encountered:
Describe the bug
GemPy has still implemented the PyVista method
parse_color
. It is deprecated by PyVista, see pyvista/pyvista#1377To Reproduce
.....\lib\site-packages\pyvista\plotting\tools.py:622: PyVistaDeprecationWarning: The usage of
parse_color
is deprecated in favor of the newColor
class.warnings.warn(
(0.20392156862745098, 0.8313725490196079, 0.16470588235294117)
Color(hex='#34d42aff')
...
Expected behavior
No DeprecationWarning
Solution
Replace
parse_color
with the newColor
class. A PR will be opened as soon as a possible fix is confirmed by the PyVista devs.The text was updated successfully, but these errors were encountered: