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