Skip to content
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

AttributeError: 'JupyterScatter' object has no attribute 'hovered_point' #115

Closed
InquilineKea opened this issue Apr 2, 2024 · 2 comments · Fixed by #117
Closed

AttributeError: 'JupyterScatter' object has no attribute 'hovered_point' #115

InquilineKea opened this issue Apr 2, 2024 · 2 comments · Fixed by #117

Comments

@InquilineKea
Copy link

InquilineKea commented Apr 2, 2024

When I pip install jscatter and then cd into the directory and jupyter lab, and then run the code
``import jscatter
import numpy as np

x = np.random.rand(500)
y = np.random.rand(500)

jscatter.plot(x, y)

I get the error "JupyterScatter' object has no attribute 'hovered_point' #115"
same issue on https://colab.research.google.com/drive/195z6h6LsYpC25IIB3fSZIVUbqVlhtnQo?usp=sharing#scrollTo=fhBnK0fHzIe6

@michaelfekadu
Copy link

I had the same issue. Downgrading anywidget solved the problem for me. Try to uninstall anywidget and run:
'pip install anywidget==0.9.3 '

@InquilineKea
Copy link
Author

InquilineKea commented Apr 2, 2024

I get this new strange issue: "FileNotFoundError: File not found: /Users/simfish/Documents/GitHub/jupyter-scatter/jscatter/bundle.js
"

EDIT: I found a way out of it for now (by executing jupyter-scatter outside of the sample folder)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants