DeprecationWarning: Converting `np.character` to a dtype is deprecated. When using pv.wrap(np.array)
Getting a
\Anaconda3\envs\py37_sd\lib\site-packages\vtkmodules\util\numpy_support.py:68:DeprecationWarning: Converting np.character to a dtype is deprecated. The current result is np.dtype(np.str_) which is not strictly correct. Note that np.character is generally deprecated and S1 should be used.
Warning when I run
import vtk
import numpy as np
import pyvista as pv
a = np.array([[0.5,0.5,0.5]])
b = pv.wrap(a)
Updated Numpy, VTK and latest PyVista
# Name Version Build Channel
alabaster 0.7.12 py37_0
appdirs 1.4.4 py_0
argon2-cffi 20.1.0 py37he774522_1
astropy 4.2 py37h2bbff1b_0
async_generator 1.10 py37h28b3542_0
atomicwrites 1.4.0 py_0
attrs 20.3.0 pyhd3eb1b0_0
babel 2.9.0 pyhd3eb1b0_0
backcall 0.2.0 py_0
blas 1.0 mkl
bleach 3.2.3 pyhd3eb1b0_0
brotlipy 0.7.0 py37h2bbff1b_1003
bzip2 1.0.8 he774522_0
ca-certificates 2021.1.19 haa95532_0
cached-property 1.5.2 py_0
certifi 2020.12.5 py37haa95532_0
cffi 1.14.4 py37hcd4344a_0
cftime 1.3.1 py37h080aedc_0
chardet 4.0.0 py37haa95532_1003
colorama 0.4.4 pyhd3eb1b0_0
coverage 5.3.1 py37h2bbff1b_2
cryptography 3.3.1 py37hcd4344a_0
curl 7.71.1 h2a8f88b_1
cycler 0.10.0 py37_0
decorator 4.4.2 py_0
defusedxml 0.6.0 py_0
docutils 0.16 py37_1
docxtpl 0.11.3 pyhd3deb0d_0 conda-forge
double-conversion 3.1.5 ha925a31_1
eigen 3.3.7 h74a9793_0
entrypoints 0.3 py37_0
expat 2.2.10 h33f27b4_2
ffmpeg 4.3.1 ha925a31_0 conda-forge
freetype 2.10.4 hd328e21_0
geos 3.8.0 h33f27b4_0
gl2ps 1.4.2 h0597ee9_0 conda-forge
glew 2.1.0 h39d44d4_2 conda-forge
h5py 3.1.0 nompi_py37h19fda09_100 conda-forge
hdf4 4.2.13 h712560f_2
hdf5 1.10.6 nompi_h5268f04_1114 conda-forge
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha925a31_3
idna 2.10 pyhd3eb1b0_0
imageio 2.9.0 py_0
imagesize 1.2.0 py_0
importlib-metadata 2.0.0 py_1
importlib_metadata 2.0.0 1
iniconfig 1.1.1 pyhd3eb1b0_0
intel-openmp 2020.2 254
ipykernel 5.3.4 py37h5ca1d4c_0
ipython 7.10.2 py37h39e3cac_0
ipython_genutils 0.2.0 pyhd3eb1b0_1
ipywidgets 7.6.3 pyhd3eb1b0_1
jedi 0.17.2 py37haa95532_1
jinja2 2.11.2 pyhd3eb1b0_0
joblib 1.0.0 pyhd3eb1b0_0
jpeg 9d h8ffe710_0 conda-forge
jsoncpp 1.8.4 h74a9793_0
jsonschema 3.2.0 py_2
jupyter 1.0.0 py37_7
jupyter_client 6.1.7 py_0
jupyter_console 6.2.0 py_0
jupyter_core 4.7.0 py37haa95532_0
jupyterlab_pygments 0.1.2 py_0
jupyterlab_widgets 1.0.0 pyhd3eb1b0_1
kiwisolver 1.3.0 py37hd77b12b_0
krb5 1.18.2 hc04afaa_0
libcurl 7.71.1 h2a8f88b_1
libiconv 1.15 h1df5818_7
libnetcdf 4.7.4 nompi_h3a9aa94_107 conda-forge
libogg 1.3.2 he774522_0
libpng 1.6.37 h2a8f88b_0
libsodium 1.0.18 h62dcd97_0
libssh2 1.9.0 h7a1dbc1_1
libtheora 1.1.1 h62dcd97_1004 conda-forge
libtiff 4.1.0 h56a325e_1
libxml2 2.9.10 hb89e7f3_3
libxslt 1.1.34 he774522_0
loguru 0.5.3 py37hc8dfbb8_2 conda-forge
lxml 4.6.2 py37h9b66d53_0
lz4-c 1.9.2 hf4a77e7_3
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gmp 6.1.0 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
markupsafe 1.1.1 py37hfa6e2cd_1
matplotlib 3.3.2 haa95532_0
matplotlib-base 3.3.2 py37hba9282a_0
meshio 4.3.8 pyhd8ed1ab_0 conda-forge
mistune 0.8.4 py37hfa6e2cd_1001
mkl 2020.2 256
mkl-service 2.3.0 py37h196d8e1_0
mkl_fft 1.2.0 py37h45dec08_0
mkl_random 1.1.1 py37h47e9c7a_0
more-itertools 8.6.0 pyhd3eb1b0_0
msys2-conda-epoch 20160418 1
nb_conda 2.2.1 py37_0
nb_conda_kernels 2.3.1 py37haa95532_0
nbclient 0.5.1 py_0
nbconvert 6.0.7 py37_0
nbformat 5.1.2 pyhd3eb1b0_1
nest-asyncio 1.4.3 pyhd3eb1b0_0
netcdf4 1.5.5.1 nompi_py37h4965ef1_101 conda-forge
nose 1.3.7 pyhd3eb1b0_1006
notebook 6.2.0 py37haa95532_0
numpy 1.19.2 py37hadc3359_0
numpy-base 1.19.2 py37ha3acd2a_0
olefile 0.46 py37_0
openssl 1.1.1i h2bbff1b_0
packaging 20.8 pyhd3eb1b0_0
pandas 1.1.5 py37hf11a4ad_0
pandoc 2.11 h9490d1a_0
pandocfilters 1.4.3 py37haa95532_1
parso 0.7.0 py_0
pickleshare 0.7.5 pyhd3eb1b0_1003
pillow 7.0.0 py37hcc1f983_0
pip 20.3.3 py37haa95532_0
pluggy 0.13.1 py37_0
proj 7.1.1 h7d85306_3 conda-forge
prometheus_client 0.9.0 pyhd3eb1b0_0
prompt-toolkit 3.0.8 py_0
prompt_toolkit 3.0.8 0
pugixml 1.10 ha925a31_1 conda-forge
py 1.10.0 pyhd3eb1b0_0
pycparser 2.20 py_2
pyerfa 1.7.1.1 py37h2bbff1b_1
pygments 2.7.4 pyhd3eb1b0_0
pyopenssl 20.0.1 pyhd3eb1b0_1
pyparsing 2.4.7 pyhd3eb1b0_0
pyqt 5.9.2 py37h6538335_2
pyreadline 2.1 py37_1
pyrsistent 0.17.3 py37he774522_0
pysocks 1.7.1 py37_1
pytest 6.2.2 py37haa95532_1
python 3.7.9 h60c2a47_0
python-dateutil 2.8.1 py_0
python-docx 0.8.10 py_0 conda-forge
python_abi 3.7 1_cp37m conda-forge
pytz 2020.5 pyhd3eb1b0_0
pyvista 0.27.4 pyhd8ed1ab_0 conda-forge
pywin32 227 py37he774522_1
pywinpty 0.5.7 py37_0
pyzmq 20.0.0 py37hd77b12b_1
qt 5.9.7 vc14h73c81de_0
qtconsole 4.7.7 py_0
qtpy 1.9.0 py_0
requests 2.25.1 pyhd3eb1b0_0
scikit-learn 0.23.2 py37h47e9c7a_0
scipy 1.5.2 py37h9439919_0
scooby 0.5.6 pyh9f0ad1d_0 conda-forge
seaborn 0.11.1 pyhd3eb1b0_0
send2trash 1.5.0 pyhd3eb1b0_1
setuptools 52.0.0 py37haa95532_0
shapely 1.7.1 py37h210f175_0
sip 4.19.8 py37h6538335_0
six 1.15.0 py37haa95532_0
snowballstemmer 2.1.0 pyhd3eb1b0_0
sphinx 3.4.3 pyhd3eb1b0_0
sphinxcontrib-applehelp 1.0.2 py_0
sphinxcontrib-devhelp 1.0.2 py_0
sphinxcontrib-htmlhelp 1.0.3 py_0
sphinxcontrib-jsmath 1.0.1 py_0
sphinxcontrib-qthelp 1.0.3 py_0
sphinxcontrib-serializinghtml 1.1.4 py_0
sqlite 3.33.0 h2a8f88b_0
tbb 2020.3 h74a9793_0
tbb-devel 2020.3 h74a9793_0
terminado 0.9.2 py37haa95532_0
testpath 0.4.4 py_0
threadpoolctl 2.1.0 pyh5ca1d4c_0
tk 8.6.10 he774522_0
toml 0.10.1 py_0
tornado 6.1 py37h2bbff1b_0
traitlets 5.0.5 py_0
urllib3 1.26.3 pyhd3eb1b0_0
utfcpp 3.1.2 0 conda-forge
vc 14.2 h21ff451_1
vs2015_runtime 14.27.29016 h5e58377_2
vtk 9.0.1 no_osmesa_py37h047e439_102 conda-forge
wcwidth 0.2.5 py_0
webencodings 0.5.1 py37_1
wheel 0.36.2 pyhd3eb1b0_0
widgetsnbextension 3.5.1 py37_0
win32_setctime 1.0.3 py_0 conda-forge
win_inet_pton 1.1.0 py37haa95532_0
wincertstore 0.2 py37_0
winpty 0.4.3 4
xz 5.2.5 h62dcd97_0
zeromq 4.3.3 ha925a31_3
zipp 3.4.0 pyhd3eb1b0_0
zlib 1.2.11 h62dcd97_4
zstd 1.4.5 h04227a9_0