code: def update_matplotlib_log_level(library_log_level: Text) -> None:
      """Set the log level of matplotlib.
  
      Uses the library specific log level or the general libraries log level.
      """
      log_level = os.environ.get(
          ENV_LOG_LEVEL_MATPLOTLIB, library_log_level
      )
      logging.getLogger("matplotlib").setLevel(log_level)
  
imports: import copy
  import inspect
  import logging
  import logging.config
  import logging.handlers
  import os
  import shutil
  import tempfile
  import warnings
  from pathlib import Path
  from types import TracebackType
  from typing import Any, Coroutine, Dict, List, Optional, Text, Type, TypeVar, Union, ContextManager, Set, Tuple
  from socket import SOCK_DGRAM, SOCK_STREAM
  import numpy
  import rasa.utils.io
  from rasa.constants import DEFAULT_LOG_LEVEL_LIBRARIES, ENV_LOG_LEVEL_LIBRARIES, ENV_LOG_LEVEL_MATPLOTLIB, ENV_LOG_LEVEL_RABBITMQ, ENV_LOG_LEVEL_KAFKA
  from rasa.shared.constants import DEFAULT_LOG_LEVEL, ENV_LOG_LEVEL, TCP_PROTOCOL
  from rasa.shared.exceptions import RasaException
  import rasa.shared.utils.io
label_desc: Use image node_id 13 for calling a global function with example usage: update_matplotlib_log_level(library_log_level) without return types