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

Skip to content

Commit dc42612

Browse files
authored
Merge pull request #21980 from cavesdev/remove-logging
Removed loaded modules logging
2 parents 9df76e2 + 91995cd commit dc42612

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Removed loaded modules logging
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
The list of currently loaded modules is no longer logged at the DEBUG level at Matplotlib import time,
5+
because it can produce extensive output and make other valuable DEBUG statements difficult to find.
6+
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).

lib/matplotlib/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,6 @@ def inner(ax, *args, data=None, **kwargs):
14421442

14431443
_log.debug('interactive is %s', is_interactive())
14441444
_log.debug('platform is %s', sys.platform)
1445-
_log.debug('loaded modules: %s', list(sys.modules))
14461445

14471446

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

0 commit comments

Comments
 (0)