damianavila / RISE

RISE: "Live" Reveal.js Jupyter/IPython Slideshow Extension
Other
3.68k stars 416 forks source link

Bokeh cursor position inaccuracy #317

Open jhrsn opened 6 years ago

jhrsn commented 6 years ago

When interactive bokeh graphs are displayed on slides, click and drag points are inaccurate (selection boxes are drawn offset from the cursor location).

damianavila commented 6 years ago

Hi, thanks for the report. Can you share notebook, rise and bokeh version? Additionally an example notebook would be useful to debug.

jhrsn commented 6 years ago

Notebook 1.0.0, Rise 5.1, bokeh 0.12.10.

Example notebook excerpt attached. Execute the code to create the graphs and then use the selection tool next to the graphs to drag in the graph area when they are displayed on a slide. On my system, the selection rectangle is offset from the pointer location. Also note that clicking in the code cells places the editing cursor at a location offset from the click point.

Otherwise Rise is really developing well. Thanks to you and all the contributors, it’s a great classroom and research presentation tool.

damianavila commented 6 years ago

Example notebook excerpt attached

@jhrsn, I can not see the except you mention here, can you please add it? Thanks!

jhrsn commented 6 years ago

Sorry...it was in the previous email response, but did not transfer to GitHub due to lack of support for the ipynb file type. Here it is zipped. bokeh_demo.ipynb.zip