Skip to content

Error displaying widget: model not found #352

@dhilst

Description

@dhilst

Bug report

I receive this error when I try to render an arbitrary graph: Error displaying widget: model not found

Bug summary

Code for reproduction

I followed the networkx example

import ipycytoscape
import ipywidgets as widgets
import networkx as nx
G = nx.complete_graph(5)
undirected = ipycytoscape.CytoscapeWidget()
undirected.graph.add_graph_from_networkx(G)
display(undirected)

Actual outcome

image

Expected outcome

Version Info

  • ipycytoscape version (import ipycytoscape; print(ipycytoscape.__version__)) : 1.3.3
  • Python version: 3.12.0
  • Jupyter(Lab) version: 3.6.3

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