diff --git a/datajoint/erd.py b/datajoint/erd.py index 0566daf6c..6e830d26b 100644 --- a/datajoint/erd.py +++ b/datajoint/erd.py @@ -50,7 +50,7 @@ class ERD: """ def __init__(self, *args, **kwargs): - warnings.warn('ERD functionality depends on matplotlib, networkx, and pygraphviz. ' + warnings.warn('ERD functionality depends on matplotlib and pygraphviz. ' 'Please install both of these libraries to enable the ERD feature.') else: class ERD(nx.DiGraph): @@ -228,7 +228,6 @@ def _make_graph(self): return graph def make_dot(self): - import networkx as nx graph = self._make_graph() graph.nodes()