Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
johncthomas committed Sep 12, 2023
1 parent cdcba23 commit 4930cf4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion plotly_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,17 @@ def basic_graph(data=(('A', 'B'), ('B', 'C'), ('C', 'A'))) -> nx.Graph:


def basic_test():
G = basic_graph()
#G = basic_graph()
from data_setup import setup_data
from graph import get_graph
from sqlalchemy import create_engine
engine = create_engine("sqlite+pysqlite:///:memory:", echo=False)
setup_data(engine)
G = get_graph(engine, 'table_a', 1)


f = plot_v2(G)
print(f.to_json()[:50], '... etc.')
f.show()


Expand Down

0 comments on commit 4930cf4

Please sign in to comment.