Skip to content

Commit

Permalink
import nx only if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
dadegrande99 committed Mar 6, 2024
1 parent dc8bf90 commit 90bbbfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbmanager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import json
import networkx as nx
import matplotlib.pyplot as plt
from py2neo import Graph

Expand Down Expand Up @@ -394,6 +393,7 @@ def get_networkx_di_graph(self):
:return: Networkx graph
"""
import networkx as nx

query = """
MATCH (n)-[r]->(m)
Expand Down

0 comments on commit 90bbbfa

Please sign in to comment.