docstr: Get our DeltaGenerator.
docstr_tok: ["Get","our","DeltaGenerator","."]
code: def dg(self) -> "DeltaGenerator":
      """Get our DeltaGenerator."""
      return cast("DeltaGenerator", self)
  
file_path: streamlit/lib/streamlit/elements/plotly_chart.py
imports: import json
  import urllib.parse
  from typing import TYPE_CHECKING, Any, Dict, List, Set, Union, cast
  from typing_extensions import Final, Literal, TypeAlias
  from streamlit import type_util
  from streamlit.errors import StreamlitAPIException
  from streamlit.logger import get_logger
  from streamlit.proto.PlotlyChart_pb2 import PlotlyChart
  from streamlit.runtime.legacy_caching import caching
  from streamlit.runtime.metrics_util import gather_metrics
label_desc: Use image node_id 2 for calling the PlotlyMixin obj's underlying member method code with example usage: obj.dg() and returns: cast