Consider (optionally?) lazily delaying graphics imports
fiendish opened this issue · 1 comments
fiendish commented
I know that pep8 says imports should always be at the top, but the plot_3d import here is quite slow and delays startup noticeably for short scripts
graph-theory/graph/__init__.py
Line 7 in d64a40d
Maybe consider moving it down to the plot function where plot_3d is actually called?
root-11 commented
Done in #52d4ee74c66f656d29524293730bed33eccc902d
Releasing as 2022.4.2 in a few minutes.