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
When importing mpl do not rely on submodules being loaded
That
```
import matplotlib as mpl
mpl.[submodule].[class]
```
works is an implementation detail because the top-level
namespace has imported these submodules. There's no
guarantee this will continue to work.
Also move the imports of the two relevant classes close
to their usage. This minimizes our top-level import to
the canonical `import matplotlib.pyplot as plt`.
0 commit comments