Skip to content

Commit f29863f

Browse files
committed
refact(plot): import core classes the top
1 parent d64c870 commit f29863f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

graphtik/plot.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
import networkx
1515
import pydot
1616

17+
from .modifiers import optional
18+
from .network import _EvictInstruction
19+
from .op import Operation
20+
1721
log = logging.getLogger(__name__)
1822

1923
#: A nested dictionary controlling the rendering of graph-plots in Jupyter cells,
@@ -213,9 +217,6 @@ def build_pydot(
213217
See :meth:`.Plottable.plot()` for the arguments, sample code, and
214218
the legend of the plots.
215219
"""
216-
from .op import Operation
217-
from .modifiers import optional
218-
from .network import _EvictInstruction
219220

220221
_monkey_patch_for_jupyter(pydot)
221222

0 commit comments

Comments
 (0)