-
Notifications
You must be signed in to change notification settings - Fork 80
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
interactive plot doesn't seem to work #197
Comments
Woops, sorry for this. It worked for one plot - why I closed the issue - but now it seems to have stopped plotting. It just returns the same output as before. I was running it from a jupyter notebook and there it plotted just once. running it from the command line in python it does return the figure details but doesn't actually plot. Any help :)? |
Hi @researcherofreality, To be able to visualize the plot, you can either:
Let me know if that works for you, from the code you provided, I get that -- really sparse but interactive 😉 -- embedding. |
Great, thank you for the help! |
I will close the issue if that solved it for you 😉 Thanks for using CEBRA! 🙌 |
I tried making an interactive plot but didn't work.
Running the following, given in the example:
`import cebra
import numpy as np
X = np.random.uniform(0, 1, (100, 50))
y = np.random.uniform(0, 10, (100, 5))
cebra_model = cebra.CEBRA(max_iterations=10)
cebra_model.fit(X, y)
embedding = cebra_model.transform(X)
cebra_time = np.arange(X.shape[0])
plt.figure(figsize=((10,8)))
fig = cebra.plot_embedding_interactive(embedding, embedding_labels=cebra_time)`
returns <Figure size 500x500 with 0 Axes>. I have plotly installed, so not sure what the issue might be.
The text was updated successfully, but these errors were encountered: