matplotlib.pyplot.set_loglevel
- matplotlib.pyplot. set_loglevel ( *args, **kwargs ) [source]
-
Set Matplotlib's root logger and root logger handler level, creating the handler if it does not exist yet.
Typically, one should call
set_loglevel("info")
orset_loglevel("debug")
to get additional debugging information.- Parameters
-
- level {"notset", "debug", "info", "warning", "error", "critical"}
-
The log level of the handler.
Notes
The first time this function is called, an additional handler is attached to Matplotlib's root handler; this handler is reused every time and this function simply manipulates the logger and handler's level.
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.pyplot.set_loglevel.html