Skip to content
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

NaN values when zooming into dynamic rasterized projected polygon plots #762

Open
1 task done
philipc2 opened this issue Oct 31, 2024 · 0 comments
Open
1 task done

Comments

@philipc2
Copy link

philipc2 commented Oct 31, 2024

ALL software version info

Software Version Info
# packages in environment at C:\Users\chmie\anaconda3\envs\uxarray:
#
# Name                    Version                   Build  Channel
antimeridian              0.3.11                   pypi_0    pypi
anyio                     4.6.2.post1              pypi_0    pypi
argon2-cffi               23.1.0                   pypi_0    pypi
argon2-cffi-bindings      21.2.0          py312h2bbff1b_0  
arrow                     1.3.0                    pypi_0    pypi
asttokens                 2.4.1                    pypi_0    pypi
async-lru                 2.0.4           py312haa95532_0  
attrs                     24.2.0          py312haa95532_0  
babel                     2.16.0                   pypi_0    pypi
beautifulsoup4            4.12.3          py312haa95532_0  
bleach                    6.2.0                    pypi_0    pypi
bokeh                     3.5.2                    pypi_0    pypi
brotli-python             1.0.9           py312hd77b12b_8
bzip2                     1.0.8                h2bbff1b_6
ca-certificates           2024.9.24            haa95532_0
cartopy                   0.24.1                   pypi_0    pypi
certifi                   2024.8.30       py312haa95532_0
cffi                      1.17.1          py312h827c3e9_0
cftime                    1.6.4.post1              pypi_0    pypi
charset-normalizer        3.4.0                    pypi_0    pypi
click                     8.1.7                    pypi_0    pypi
cloudpickle               3.1.0                    pypi_0    pypi
colorama                  0.4.6           py312haa95532_0
colorcet                  3.1.0                    pypi_0    pypi
comm                      0.2.2                    pypi_0    pypi
contourpy                 1.3.0                    pypi_0    pypi
cycler                    0.12.1                   pypi_0    pypi
dask                      2024.10.0                pypi_0    pypi
dask-expr                 1.1.16                   pypi_0    pypi
datashader                0.16.3                   pypi_0    pypi
debugpy                   1.8.7                    pypi_0    pypi
decorator                 5.1.1              pyhd3eb1b0_0
defusedxml                0.7.1              pyhd3eb1b0_0
executing                 2.1.0                    pypi_0    pypi
expat                     2.6.3                h5da7b33_0
fastjsonschema            2.20.0                   pypi_0    pypi
fonttools                 4.54.1                   pypi_0    pypi
fqdn                      1.5.1                    pypi_0    pypi
fsspec                    2024.10.0                pypi_0    pypi
geopandas                 1.0.1                    pypi_0    pypi
geoviews                  1.13.0                   pypi_0    pypi
h11                       0.14.0          py312haa95532_0
holoviews                 1.19.1                   pypi_0    pypi
httpcore                  1.0.6                    pypi_0    pypi
httpx                     0.27.2                   pypi_0    pypi
hvplot                    0.11.1                   pypi_0    pypi
idna                      3.10                     pypi_0    pypi
ipykernel                 6.29.5          py312haa95532_0
ipython                   8.29.0                   pypi_0    pypi
isoduration               20.11.0                  pypi_0    pypi
jedi                      0.19.1          py312haa95532_0
jinja2                    3.1.4           py312haa95532_0
joblib                    1.4.2                    pypi_0    pypi
json5                     0.9.25                   pypi_0    pypi
jsonpointer               3.0.0                    pypi_0    pypi
jsonschema                4.23.0          py312haa95532_0
jsonschema-specifications 2024.10.1                pypi_0    pypi
jupyter-client            8.6.3                    pypi_0    pypi
jupyter-lsp               2.2.5                    pypi_0    pypi
jupyter-server            2.14.2                   pypi_0    pypi
jupyter-server-terminals  0.5.3                    pypi_0    pypi
jupyter_client            8.6.0           py312haa95532_0
jupyter_core              5.7.2           py312haa95532_0
jupyter_events            0.10.0          py312haa95532_0
jupyter_server            2.14.1          py312haa95532_0
jupyter_server_terminals  0.4.4           py312haa95532_1
jupyterlab                4.3.0                    pypi_0    pypi
jupyterlab-pygments       0.3.0                    pypi_0    pypi
jupyterlab_pygments       0.1.2                      py_0
jupyterlab_server         2.27.3          py312haa95532_0
kiwisolver                1.4.7                    pypi_0    pypi
libffi                    3.4.4                hd77b12b_1
libsodium                 1.0.18               h62dcd97_0
linkify-it-py             2.0.3                    pypi_0    pypi
llvmlite                  0.43.0                   pypi_0    pypi
locket                    1.0.0                    pypi_0    pypi
markdown                  3.7                      pypi_0    pypi
markdown-it-py            3.0.0                    pypi_0    pypi
markupsafe                3.0.2                    pypi_0    pypi
matplotlib                3.9.2                    pypi_0    pypi
matplotlib-inline         0.1.7                    pypi_0    pypi
mdit-py-plugins           0.4.2                    pypi_0    pypi
mdurl                     0.1.2                    pypi_0    pypi
mistune                   3.0.2                    pypi_0    pypi
multipledispatch          1.0.0                    pypi_0    pypi
nbclient                  0.10.0                   pypi_0    pypi
nbconvert                 7.16.4          py312haa95532_0
nbformat                  5.10.4          py312haa95532_0
nest-asyncio              1.6.0           py312haa95532_0
netcdf4                   1.7.2                    pypi_0    pypi
notebook                  7.2.2           py312haa95532_1
notebook-shim             0.2.4                    pypi_0    pypi
numba                     0.60.0                   pypi_0    pypi
numpy                     2.0.2                    pypi_0    pypi
openssl                   3.0.15               h827c3e9_0
overrides                 7.7.0                    pypi_0    pypi
packaging                 24.1            py312haa95532_0
pandas                    2.2.3                    pypi_0    pypi
pandocfilters             1.5.1                    pypi_0    pypi
panel                     1.5.3                    pypi_0    pypi
param                     2.1.1                    pypi_0    pypi
parso                     0.8.4                    pypi_0    pypi
partd                     1.4.2                    pypi_0    pypi
pillow                    11.0.0                   pypi_0    pypi
pip                       24.2            py312haa95532_0
platformdirs              4.3.6                    pypi_0    pypi
prometheus-client         0.21.0                   pypi_0    pypi
prometheus_client         0.14.1          py312haa95532_0
prompt-toolkit            3.0.48                   pypi_0    pypi
prompt_toolkit            3.0.43               hd3eb1b0_0
psutil                    6.1.0                    pypi_0    pypi
pure-eval                 0.2.3                    pypi_0    pypi
pure_eval                 0.2.2              pyhd3eb1b0_0
pyarrow                   18.0.0                   pypi_0    pypi
pycparser                 2.22                     pypi_0    pypi
pyct                      0.5.0                    pypi_0    pypi
pygments                  2.18.0                   pypi_0    pypi
pyogrio                   0.10.0                   pypi_0    pypi
pyparsing                 3.2.0                    pypi_0    pypi
pyproj                    3.7.0                    pypi_0    pypi
pyshp                     2.3.1                    pypi_0    pypi
pysocks                   1.7.1           py312haa95532_0
python                    3.12.0               h1d929f7_0
python-dateutil           2.9.0post0      py312haa95532_2
python-fastjsonschema     2.16.2          py312haa95532_0
python-json-logger        2.0.7           py312haa95532_0
pytz                      2024.2                   pypi_0    pypi
pyviz-comms               3.0.3                    pypi_0    pypi
pywin32                   308                      pypi_0    pypi
pywinpty                  2.0.14                   pypi_0    pypi
pyyaml                    6.0.2           py312h827c3e9_0
pyzmq                     26.2.0                   pypi_0    pypi
referencing               0.35.1                   pypi_0    pypi
requests                  2.32.3          py312haa95532_0
retrying                  1.3.4                    pypi_0    pypi
rfc3339-validator         0.1.4           py312haa95532_0
rfc3986-validator         0.1.1           py312haa95532_0
rpds-py                   0.20.0                   pypi_0    pypi
scikit-learn              1.5.2                    pypi_0    pypi
scipy                     1.14.1                   pypi_0    pypi
send2trash                1.8.3                    pypi_0    pypi
setuptools                75.1.0          py312haa95532_0
shapely                   2.0.6                    pypi_0    pypi
six                       1.16.0             pyhd3eb1b0_1
sniffio                   1.3.1                    pypi_0    pypi
soupsieve                 2.6                      pypi_0    pypi
spatialpandas             0.4.10                   pypi_0    pypi
sqlite                    3.45.3               h2bbff1b_0
stack-data                0.6.3                    pypi_0    pypi
stack_data                0.2.0              pyhd3eb1b0_0
terminado                 0.18.1                   pypi_0    pypi
threadpoolctl             3.5.0                    pypi_0    pypi
tinycss2                  1.4.0                    pypi_0    pypi
tk                        8.6.14               h0416ee5_0
toolz                     1.0.0                    pypi_0    pypi
tornado                   6.4.1           py312h827c3e9_0
tqdm                      4.66.6                   pypi_0    pypi
traitlets                 5.14.3          py312haa95532_0
types-python-dateutil     2.9.0.20241003           pypi_0    pypi
typing-extensions         4.12.2                   pypi_0    pypi
typing_extensions         4.11.0          py312haa95532_0
tzdata                    2024.2                   pypi_0    pypi
uc-micro-py               1.0.3                    pypi_0    pypi
uri-template              1.3.0                    pypi_0    pypi
urllib3                   2.2.3           py312haa95532_0
uxarray                   2024.10.1                pypi_0    pypi
vc                        14.40                h2eaa2aa_1
vs2015_runtime            14.40.33807          h98bb1dd_1
wcwidth                   0.2.13                   pypi_0    pypi
webcolors                 24.8.0                   pypi_0    pypi
webencodings              0.5.1           py312haa95532_2
websocket-client          1.8.0           py312haa95532_0
wheel                     0.44.0          py312haa95532_0
win_inet_pton             1.1.0           py312haa95532_0
winpty                    0.4.3                         4
xarray                    2024.10.0                pypi_0    pypi
xyzservices               2024.9.0                 pypi_0    pypi
xz                        5.4.6                h8cc25b3_1
yaml                      0.2.5                he774522_0
zeromq                    4.3.5                hd77b12b_0
zlib                      1.2.13               h8cc25b3_1

Description of expected behavior and the observed behavior

When zooming a projected polygon plot that is rasterized, sometimes zooming will cause the screen to be full of NaN values, which can be observed in the video below. This behavior is not present with pure HoloViews

https://drive.google.com/file/d/1a84Hi8wuax7nY3VeLH_H0rwe-L6arItA/view?usp=sharing

Complete, minimal, self-contained example code that reproduces the issue

https://gist.github.com/philipc2/6cca76ae9bd893f741ecf4780c2cfba3

  • I may be interested in making a pull request to address this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant