Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Removed loaded modules logging #21980

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions doc/api/next_api_changes/removals/21980-CC.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Removed loaded modules logging
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The list of currently loaded modules is no longer logged at the DEBUG level at Matplotlib import time,
because it can produce extensive output and make other valuable DEBUG statements difficult to find.
If you were relying on this please arrange for your own logging (the built-in `sys.modules` can be used to get the currently loaded modules).
1 change: 0 additions & 1 deletion lib/matplotlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,6 @@ def inner(ax, *args, data=None, **kwargs):

_log.debug('interactive is %s', is_interactive())
_log.debug('platform is %s', sys.platform)
_log.debug('loaded modules: %s', list(sys.modules))


# workaround: we must defer colormaps import to after loading rcParams, because
Expand Down