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
Sometimes I use BoxAnnotations to add additional information to a plot and I would like to have the opportunity to toggle visibility using a legend in the same way it is possible for Glyphs.
If I uncommet the line with the Legend I get the error message:
ValueError: failed to validate LegendItem(id='2918', ...).renderers: expected an element of List(Instance(GlyphRenderer)), got seq with invalid items [BoxAnnotation(id='2916', ...), BoxAnnotation(id='2917', ...)]
Feature description
This is possibly a dupliacte, I found this comment in #9955
Allow annotations to be added to legends (this has come up several times recently)
Additional information
I am using Bokeh 2.4.2 and don't know if this already is changed on the development branch.
The text was updated successfully, but these errors were encountered:
Problem description
Sometimes I use BoxAnnotations to add additional information to a plot and I would like to have the opportunity to toggle visibility using a legend in the same way it is possible for Glyphs.
This is a slightly adapted version of the box_annotation example.
If I uncommet the line with the Legend I get the error message:
Feature description
This is possibly a dupliacte, I found this comment in #9955
Additional information
I am using Bokeh 2.4.2 and don't know if this already is changed on the development branch.
The text was updated successfully, but these errors were encountered: