code: def _get_message(self) -> str:
      return """
  You are calling `st.pyplot()` without any arguments. After December 1st, 2020,
  we will remove the ability to do this as it requires the use of Matplotlib's global
  figure object, which is not thread-safe.
  
  To future-proof this code, you should pass in a figure as shown below:
  
  ```python
  >>> fig, ax = plt.subplots()
  >>> ax.scatter([1, 2, 3], [1, 2, 3])
  >>>    ... other plotting actions ...
  >>> st.pyplot(fig)
  ```
  """
  
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 2 for calling the PyplotGlobalUseWarning obj's underlying member method code with example usage: obj._get_message() and returns: str