Hello all,
I would like to thank the team for the Bokeh, also all community for the great discussions and resources to learn from.
My first question in series is about undo/redo.
It works for single plot (full example is in the attachement, taken from ipython notebook cell), when initialized like this:
TOOLS = “box_zoom,undo,redo,tap,pan,wheel_zoom,reset”
create a new plot
p = figure(width=250, plot_height=250, title=None, tools=TOOLS)
p.circle(x, y, size=10, color=“navy”, alpha=0.5)
show the results
show(p)
The same plot with gridplot has always undo/redo buttons disabled.
with gridplot
g = gridplot([[p]], toolbar_location=‘above’)
show(g)
My real code uses gridplot with two linked plots. Is there a chance I use gridplot wrong here?
Thanks in advance,
Dmitry
undo-redo-w-gridplot.py (424 Bytes)
Hi Dmitry,
Hopefully
Matesuz can answer that question as he
built the Undo/Redo feature.
I can't find
anything in the documentation about this. Sorry to not be more help.
Sincerely,
Sa rah
Bird
···
On 2/16/16 5:05 AM, Dmitry Sorokin
wrote:
Hello all,
I would like to thank the team for the Bokeh, also all
community for the great discussions and resources to learn
from.
My first question in series is about undo/redo.
It works for single plot (full example is in the
attachement, taken from ipython notebook cell), when
initialized like this:
TOOLS = “box_zoom,undo,redo,tap,pan,wheel_zoom,reset”
create a new plot
p = figure(width=250, plot_height=250, title=None,
tools=TOOLS)
p.circle(x, y, size=10, color=“navy”, alpha=0.5)
show the results
show(p)
The same plot with gridplot has always undo/redo buttons
disabled.
with gridplot
g = gridplot([[p]], toolbar_location=‘above’)
show(g)
My real code uses gridplot with two linked plots. Is there
a chance I use gridplot wrong here?
Thanks in advance,
Dmitry
–
You received this message because you are subscribed to the Google
Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit [](https://groups.google.com/a/continuum.io/d/msgid/bokeh/e3544e4d-18aa-4e8a-81a4-8cfbaa58f8ce%40continuum.io?utm_medium=email&utm_source=footer) .
For more options, visit .
–
Sarah Bird
Developer, Bokeh
[

](http://continuum.io)
https://groups.google.com/a/continuum.io/d/msgid/bokeh/e3544e4d-18aa-4e8a-81a4-8cfbaa58f8ce%40continuum.io
https://groups.google.com/a/continuum.io/d/optout
Hi Sarah,
Thank you for your attention to this.
Currentry I have switched from gridplot to vplot.
With vplot each plot has it’s own toolbar which is a bit overhead as my secondary plot is very simple (quads visualizing datetime ranges).
But in this case all tool buttons work.
Regards,
Dmitry
···
On Saturday, March 5, 2016 at 1:52:41 AM UTC+3, Sarah Bird wrote:
Hi Dmitry,
Hopefully
Matesuz can answer that question as he
built the Undo/Redo feature.
I can't find
anything in the documentation about this. Sorry to not be more help.
Sincerely,
Sa rah
Bird
On 2/16/16 5:05 AM, Dmitry Sorokin > wrote:
Hello all,
I would like to thank the team for the Bokeh, also all
community for the great discussions and resources to learn
from.
My first question in series is about undo/redo.
It works for single plot (full example is in the
attachement, taken from ipython notebook cell), when
initialized like this:
TOOLS = “box_zoom,undo,redo,tap,pan,wheel_zoom,reset”
create a new plot
p = figure(width=250, plot_height=250, title=None,
tools=TOOLS)
p.circle(x, y, size=10, color=“navy”, alpha=0.5)
show the results
show(p)
The same plot with gridplot has always undo/redo buttons
disabled.
with gridplot
g = gridplot([[p]], toolbar_location=‘above’)
show(g)
My real code uses gridplot with two linked plots. Is there
a chance I use gridplot wrong here?
Thanks in advance,
Dmitry
–
You received this message because you are subscribed to the Google
Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit [](https://groups.google.com/a/continuum.io/d/msgid/bokeh/e3544e4d-18aa-4e8a-81a4-8cfbaa58f8ce%40continuum.io?utm_medium=email&utm_source=footer)[https://groups.google.com/a/continuum.io/d/msgid/bokeh/e3544e4d-18aa-4e8a-81a4-8cfbaa58f8ce%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/e3544e4d-18aa-4e8a-81a4-8cfbaa58f8ce%40continuum.io).
For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout).
–
Sarah Bird
Developer, Bokeh
[
<img alt="Continuum Analytics" src="https://lh6.googleusercontent.com/proxy/VYgVjggTk1hCXSN9wFkffE3I6kxTvJ51tT4KvDXOuKbs1WyFG66k7kt2-vkDimbyxfWtP-d1paJmstMYhPPnDYSUF4rLPoYM2GM2QFM=w5000-h5000" height="30px" width="150px">
](http://continuum.io)