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

Color picker is broken (from Network.show_buttons()) #288

Open
YouGuessedMyName opened this issue Jun 24, 2024 · 0 comments
Open

Color picker is broken (from Network.show_buttons()) #288

YouGuessedMyName opened this issue Jun 24, 2024 · 0 comments

Comments

@YouGuessedMyName
Copy link

YouGuessedMyName commented Jun 24, 2024

To reproduce, run the following in a jupyter notebook (example taken from the documentation):

from pyvis.network import Network
import networkx as nx

g = Network(notebook=True)

g.from_nx(nx.florentine_families_graph())
g.show_buttons(filter_=['nodes'])

g.show("ex.html")

Click on the color picker (under nodes>color>background), select apply.

Expected behavior: The background color of the nodes changes.
Actual behavior: The color picker goes blank and nothing changes in the graph.

I have tried it on Windows 10 and Ubuntu 24 and in python 3.12 and 3.7, both in notebook and stand-alone mode.

I don't know if this is a pyvis problem or a VisJs problem, but the devs should probably look into it.

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