Closed ablythed closed 1 month ago
I met this same problem today! I have been using the same code snippet for plotting for weeks so it's been really driving me crazy that it suddenly didn't work this afternoon. I had already checked for nan's, but it turns out I had an inf
in my lon/lat. Also a weird thing is that it works if geo=False
. Anyway just thought I'd chime in.
Closing in favor of the upstream issue.
ALL software version info
hvplot 0.9.0 pandas 2.1.1 notebook 6.5.4
Description of expected behavior and the observed behavior
Expected behavior: Produces a Point plot where each point is colored according to specified variable ("color") in the example. Ignores NaN values for axis and color variables.
Observed behavior: Generates a ValueError. Removing the NaN entries solves the problem.
Complete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
Initial error:
Traceback on calling holoviews.ipython.show_traceback():
Screenshots or screencasts of the bug in action
Thanks @Hoxbro for the MRE and for helping me figure out what was going on!