From 42a420fec4facc3a4215ba0786f8388c0de5190d Mon Sep 17 00:00:00 2001 From: Olga Ivanova Date: Tue, 2 Jul 2024 16:22:30 +0200 Subject: [PATCH] quick fixes for imports --- networkcommons/__init__.py | 6 +++--- networkcommons/_visual/__init__.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/networkcommons/__init__.py b/networkcommons/__init__.py index 7e1d5f5..d1141df 100644 --- a/networkcommons/__init__.py +++ b/networkcommons/__init__.py @@ -33,7 +33,7 @@ 'visual', ] -#import lazy_import +import lazy_import from ._metadata import __author__, __version__ from ._session import log, _log, session @@ -49,6 +49,6 @@ 'visual', ] -#for _mod in _MODULES: +for _mod in _MODULES: -# globals()[_mod] = lazy_import.lazy_module(f'{__name__}.{_mod}') + globals()[_mod] = lazy_import.lazy_module(f'{__name__}.{_mod}') diff --git a/networkcommons/_visual/__init__.py b/networkcommons/_visual/__init__.py index 1676ec2..fb98e96 100644 --- a/networkcommons/_visual/__init__.py +++ b/networkcommons/_visual/__init__.py @@ -17,5 +17,5 @@ Visualization methods for networks and analyses. """ -from . import vis_networkx as networkx -from . import yfiles as yfiles +from . import vis_networkx as vis_networkx +from . import yfiles as vis_yfiles \ No newline at end of file