You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be deliberate but it seems that the submodule plots is not imported in the __init__.py but is included in __all__.
I can see there are some optional dependencies for some of the functions but their imports are only inside the concerned functions.
That means that if someone wants to use the plots submodule they would need to explicitly import it, which seems a bit strange when the documentation has this:
I'm sorry I saw these come in initially but forgot to reply!
It was intentional to not import plots in __init__ since it has extra dependencies. However, you are correct that then the docs don't demonstrate the you'd need to explicitly import it. If you can untangle how to build the docs, I'd appreciate you fixing that! It'll probably be awhile before I get to it otherwise, but I'll do it next time I'm working on them.
Hi,
This might be deliberate but it seems that the submodule
plots
is not imported in the__init__.py
but is included in__all__
.I can see there are some optional dependencies for some of the functions but their imports are only inside the concerned functions.
That means that if someone wants to use the
plots
submodule they would need to explicitly import it, which seems a bit strange when the documentation has this:Which currently gives:
The text was updated successfully, but these errors were encountered: