See your browser Javascript console for more details.
I have attached a sample Jupyter Notebook which demonstrates this. All inline plotting fails after this first error message is first created unless I rerun the output_notebook() command. It appears that I cannot plot the same figure twice when using the ‘gridplot’ method.
I have recently started using Bokeh and it is a very impressive tool.
I think I have found a bug in Bokeh whilst experimenting with the gridplot command, From Jupyter, I get the following error message:
Javascript error adding output!
Error: duplicate edit variable: _height 7a9ef649-8625-410c-bcbc-2cdf6f9b89ae
See your browser Javascript console for more details.
I have attached a sample Jupyter Notebook which demonstrates this. All inline plotting fails after this first error message is first created unless I rerun the output_notebook() command. It appears that I cannot plot the same figure twice when using the 'gridplot' method.
Is anyone able to reproduce this error?
Cheers, DougR
Windows 7
Bokeh: v12.5
Jupyter: 5.0.0
Chrome Browser
Thanks for the quick response and link to the issue. Its good to know that the problem I had is already being tracked. I failed to spot it when I googled it.
DougR
···
On Thursday, May 18, 2017 at 2:54:09 PM UTC+1, Bryan Van de ven wrote:
Hi,
It’s not the grid plot, you are running into this:
See your browser Javascript console for more details.
I have attached a sample Jupyter Notebook which demonstrates this. All inline plotting fails after this first error message is first created unless I rerun the output_notebook() command. It appears that I cannot plot the same figure twice when using the ‘gridplot’ method.
Is anyone able to reproduce this error?
Cheers, DougR
Windows 7
Bokeh: v12.5
Jupyter: 5.0.0
Chrome Browser
–
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].
Well, just to be clear, the resolution to that issue may end up being "wont fix" or "invalid". It's not clear at all to me what a real, actual use-case for including the exact same plot twice in one document could be. In which case it's hard to justify effort to "fix" a non-problem. However, if you have a justification for why it would ever be reasonable to include the same plot object twice in a real situation, please comment in the issue.
Thanks for the quick response and link to the issue. Its good to know that the problem I had is already being tracked. I failed to spot it when I googled it.
DougR
On Thursday, May 18, 2017 at 2:54:09 PM UTC+1, Bryan Van de ven wrote:
Hi,
It's not the grid plot, you are running into this:
because you are using the same plot twice in one document.
Thanks,
Bryan
> On May 18, 2017, at 08:03, doug...@gmail.com wrote:
>
> Hi,
>
> I have recently started using Bokeh and it is a very impressive tool.
>
> I think I have found a bug in Bokeh whilst experimenting with the gridplot command, From Jupyter, I get the following error message:
>
> Javascript error adding output!
> Error: duplicate edit variable: _height 7a9ef649-8625-410c-bcbc-2cdf6f9b89ae
> See your browser Javascript console for more details.
>
> I have attached a sample Jupyter Notebook which demonstrates this. All inline plotting fails after this first error message is first created unless I rerun the output_notebook() command. It appears that I cannot plot the same figure twice when using the 'gridplot' method.
>
> Is anyone able to reproduce this error?
>
> Cheers, DougR
>
> Windows 7
> Bokeh: v12.5
> Jupyter: 5.0.0
> Chrome Browser
>
> --
> 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 bokeh+un...@continuum.io.
> To post to this group, send email to bo...@continuum.io.
> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/f56b8c8b-cade-4939-a7a9-daa1755b2807%40continuum.io\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
> <Bokeh1_in_Jupyter_bug.ipynb>
I’m not sure that there is a need to have the same figure in a document. The issue I had was the persistent error messages, even when running valid commands, after I made the mistake of putting 1 figure in a gridplot twice. Restarting the Jupyter kernel or running the “output_notebook()” command fixed the issue. Please see attached Jupyter Notebook which better describes this scenario.
See your browser Javascript console for more details.
I have attached a sample Jupyter Notebook which demonstrates this. All inline plotting fails after this first error message is first created unless I rerun the output_notebook() command. It appears that I cannot plot the same figure twice when using the ‘gridplot’ method.
Understood. The Notebook+Bokeh is a giant pile of interlocking state spread across two runtimes. There are situations that just cannot be gracefully recovered from without restarting. Perhaps the best resolution for that issue would be a giant red validation warning if a model is duplicated in a document (that's simple to do).
I'm not sure that there is a need to have the same figure in a document. The issue I had was the persistent error messages, even when running valid commands, after I made the mistake of putting 1 figure in a gridplot twice. Restarting the Jupyter kernel or running the "output_notebook()" command fixed the issue. Please see attached Jupyter Notebook which better describes this scenario.
Doug
On Thursday, May 18, 2017 at 2:27:59 PM UTC+1, DougR wrote:
Hi,
I have recently started using Bokeh and it is a very impressive tool.
I think I have found a bug in Bokeh whilst experimenting with the gridplot command, From Jupyter, I get the following error message:
Javascript error adding output!
Error: duplicate edit variable: _height 7a9ef649-8625-410c-bcbc-2cdf6f9b89ae
See your browser Javascript console for more details.
I have attached a sample Jupyter Notebook which demonstrates this. All inline plotting fails after this first error message is first created unless I rerun the output_notebook() command. It appears that I cannot plot the same figure twice when using the 'gridplot' method.
Is anyone able to reproduce this error?
Cheers, DougR
Windows 7
Bokeh: v12.5
Jupyter: 5.0.0
Chrome Browser