You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When rasterizing a plot, you lose the ability to show a legend. Rasterize is used when there is a lot of data, so a legend is even more important in this context to visually parse the plots.
Describe the solution you'd like
This FR is to have the code below display a legend.
Downside to this approach is you loose the ability to click on an entry in the legend to hide a particular line. But unless each line is rasterized independently, I suppose this is unavoidable (unless clicking an entry was to remake the whole plot).
There appears to be a util in holoviews categorical_legend from this PR that I can't get to work. It's supposed to create a points element that a user would overlay with the rasterized plot to show the legend. I don't see this documented or used anywhere.
The census example shows an example of manually creating such an overlay.
alt option: rasterize one curve at a time and then overlay
It looks like one person on discourse figured out a solution to this by rasterizing individual curves and then overlaying
Is your feature request related to a problem? Please describe.
When rasterizing a plot, you lose the ability to show a legend. Rasterize is used when there is a lot of data, so a legend is even more important in this context to visually parse the plots.
Describe the solution you'd like
This FR is to have the code below display a legend.
or similar with hvplot:
Describe alternatives you've considered
alt option: Manual creation of a plot to overlay
categorical_legend
from this PR that I can't get to work. It's supposed to create a points element that a user would overlay with the rasterized plot to show the legend. I don't see this documented or used anywhere.alt option: rasterize one curve at a time and then overlay
Additional context
categorical_legend
util.The text was updated successfully, but these errors were encountered: