Skip to content

interactive plot doesn't seem to work #197

Description

@researcherofreality

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions