-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Styling individual elements in a GridMatrix is ignored by datashade operation #2698
Comments
I think this is a specific case of the issue in #2637 . I agree it's confusing, and I'd really like to find a solution. |
@philippjfr Applying the plot options after datashading still has no effect:
Interestingly, the plot options are set and can be seen if only that plot is shown:
will show a plot with lightyellow background and blue frame. But when the plot is shown together with other plots in a GridMatrix with |
It's possible to use these tools without having to think deeply about how it all works, and we try to facilitate that where practical, but sometimes you have to appreciate all of the details, especially if you want to control them. Here, Datashader returns transparent images, which will reveal the background color of the plot the same as if you hadn't used datashader. But |
Thanks @jbednar. The same issue happens when I use I understand I'm dealing with RGB elements after datashade(), and should apply options for RGB. RGB elements have the
The plot options are not set when I try to set the options of one plot and then show the whole gridmatrix in one cell:
The More puzzling is if I put the following three lines in three separate cells, everything is fine, the plot options are applied But if I put 1) and 2) in the same cell, and 3) in a separate cell, then the plot options are not applied at all |
Hmm. That doesn't sound like it's behaving properly, to me. @philippjfr? |
Might be hard to test without a runnable reproducing example. |
This is the code I used in the screenshots, run in jupyter lab or notebook environment.
|
Thanks, that makes it much easier. That is indeed strange behavior. |
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. |
The following code tries to set the background and frame colors of one plot in a GridMatrix:
but there's no color changes, and no output from the
print()
inmodify_frame
. It seemed thatmodify_frame
was not called. If the last line wasgd
orgd.map(decimate, hv.Scatter)
, the code worked as expected. Somehowdatashade
'eats' the options?The text was updated successfully, but these errors were encountered: