Is there functionality to have multiple glyph sizes in a legend?

I am currently building a scatter plot in Bokeh. One of the attributes of the data is displayed as the size of the glyph, so I would like to create a legend that shows glyphs of different sizes. Is this possible currently in Bokeh? My previous workaround has been creating a seperate plot to use a makeshift legend, but its pretty annoying overall.

Not presently, see Allow size to vary in legend glyphs · Issue #2603 · bokeh/bokeh · GitHub and linked PRs for latest status. TLDR still waiting for someone with bandwidth to implement. You might leave a comment there describing how it would help your use case.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.