-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
Rasterize not working in combination with multiple rectangles with DateTime coordinates #5239
Comments
If I change the following lines from holoviews/holoviews/operation/datashader.py Lines 769 to 774 in 0defcef
|
Thanks for looking into this @hoxbro ! From what I've seen after some debugging Questions are:
I could fix the issue by adding these two lines above the failing code. if xtype == 'datetime' or ytype == 'datetime':
df = df.copy() |
The traceback reported in this recent blog post is very similar to the one reported in this issue. They have the same root cause and will certainly have the same fix. Specifically the blog post is plotting a QuadMesh, and the issue lies in |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
ALL software version info
pandas==1.3.5
holoviews==1.14.8
bokeh==2.3.3
python==3.8.5
Description of expected behavior and the observed behavior
When rasterizing multiple hv.Rectangles, I expect to be able to supply Timestamp coordinates; this works fine without the rasterization or for single Rectangles. However, when multiple Rectangles with Timestamp coordinates are rasterized, the supplied timestamps are out of bounds.
EDIT: This also occurs when a single rectangle is supplied in a list when calling hv.Rectangles.
Complete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
Screenshots or screencasts of the bug in action
The text was updated successfully, but these errors were encountered: