code: def __init__(self) -> None:
      super(PyplotGlobalUseWarning, self).__init__(
          msg=self._get_message(),
          config_option="deprecation.showPyplotGlobalUse",
      )
  
file_path: streamlit/lib/streamlit/elements/pyplot.py
imports: import io
  from typing import TYPE_CHECKING, Any, Optional, cast
  from typing_extensions import Final
  import streamlit.elements.image
  from streamlit import config
  from streamlit.errors import StreamlitDeprecationWarning
  from streamlit.logger import get_logger
  from streamlit.proto.Image_pb2 import ImageList
  from streamlit.runtime.metrics_util import gather_metrics
label_desc: Use image node_id 1 to create a new PyplotGlobalUseWarning object from inherited base classes: StreamlitDeprecationWarning with example: obj = PyplotGlobalUseWarning()