-
-
Notifications
You must be signed in to change notification settings - Fork 407
Open
Labels
tag: hvplotIssue also been asked in hvplotIssue also been asked in hvplottype: enhancementMinor feature or improvement to an existing featureMinor feature or improvement to an existing feature
Milestone
Description
Currently it is not possible to add a legend to a plot with only 1 curve.
It would be nice if you could do that.
At the moment there's only a workaround such as creating an overlay with the same curve:
curve1 = hv.Curve([3, 4, 5], name='just one line')
curve1 * curve1
Would be nice if adding a legend to a plot would be more intuitive.
See also:
https://stackoverflow.com/questions/55490184/legend-does-not-appear-in-holoviews-for-only-1-line
https://discourse.holoviz.org/t/how-to-get-a-legend-for-just-one-line-curve/121
Version using:
Holoviews 1.13
LinuxIsCool, JanHomann, TheoMathurin, jiagengliu and SBlokhuizen
Metadata
Metadata
Assignees
Labels
tag: hvplotIssue also been asked in hvplotIssue also been asked in hvplottype: enhancementMinor feature or improvement to an existing featureMinor feature or improvement to an existing feature