Closed MrTomRod closed 4 years ago
I absolutely love this library, especially bokeh! I have a feature request, though:
It would be great if it were possible to specify the tools of the plot. Currently, I do it like this:
plot = graphic_record.plot_with_bokeh() # remove hover tool from bokeh.plotting._tools import process_tools_arg tool_objs, tool_map = process_tools_arg(plot, "xpan,xwheel_zoom,reset,tap") plot.tools = tool_objs
How I'd like it to work:
plot = graphic_record.plot_with_bokeh(tools=["xpan,xwheel_zoom,reset,tap"])
PS: In the function plot_with_bokeh of the class BokehPlottableMixin on line 78, you have a silly print statement. :)
plot_with_bokeh
BokehPlottableMixin
Thank you for the suggestion. Could you please perhaps make a pull request for this feature?
Thank you very much, I merged your PR
I absolutely love this library, especially bokeh! I have a feature request, though:
It would be great if it were possible to specify the tools of the plot. Currently, I do it like this:
How I'd like it to work:
PS: In the function
plot_with_bokeh
of the classBokehPlottableMixin
on line 78, you have a silly print statement. :)