-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mouse location misaligned within the graph in Jupyter Slides #1011
Comments
@kalinkirev I'm having the same issue - did you find a solution? |
Hi @kalinkirev , if you're still interested in pursuing this could you:
Thanks! |
Closing due to lack of activity. Feel free to open a new issue with the requested info if you're still interested in working through this. |
Hi, have problem with plotly in jupyter slides as already described: |
Hi, the problem is related to the scale transformation inside slide element. Supressing this transformation removes cursor problem, however disrupts scaling (not suprising) and translations. My css/html knowledge is very limited. Please what is the best way to supress scaling transformation here? |
Hi @konvica, thanks for digging into this. @etpinard @antoinerg Would you expect Plotly.js to work properly under a transformed div? If not, is this something that would be reasonable to support in the future? |
Totally reasonable, tracked in plotly/plotly.js#888 |
When converting a Jupyter Notebook to Jupyter Slides, the offline Plotly diagram is displayed correctly, however, it seems that mouse location is detected in a different location where it actually is. When you hover over the graph controls, everything is ok, but the problem is located only within the plot area itself.
The code I ran is
Then save the notebook as
TestSlides.ipynb
and convert it to slides.The problem disappears when you hover over the graph control panel
The slides run as normal, the graph loads and is interactive, but the mouse is misaligned. I tried the following things but with no success:
layout = dict(autosize=False, width=600, height=600)
Both plotly.js and reveal.js are within the directory where the notebook is converted
NOTE: This only happens once the notebook is converted into slides. Within Jupyter itself, the graph is displayed without any issues
The text was updated successfully, but these errors were encountered: