Skip to main content

All Questions

Tagged with
0 votes
1 answer
298 views

Hiding Bokeh glyphs based on categorical data with color_mapper

Currently i found a way of plotting my categorical data by using the color_mapper and the legend_field variable. My data look the following way: df_plot x y category 0 91....
Maxi Trien's user avatar
3 votes
3 answers
8k views

bokeh add legend to Step graph

How can I add a legend to lines in Step graph example for bokeh: https://docs.bokeh.org/en/latest/docs/reference/models/glyphs/step.html I would like to have legend in 'top right' corner of plot for ...
Admed's user avatar
  • 71
5 votes
1 answer
6k views

How do I show legend for different colors in bokeh scatter plot?

This is my plot. I need to show the legend for the different colors used. How do I do that? My code for the plot: def mscatter(p, x, y, c,typestr,source): p.scatter(x, y, marker=typestr, ...
n00b's user avatar
  • 1,599