
    /_i
                    `    d Z ddlmZ ddlmZmZ ddlmZ ddlm	Z	 erddl
mZ  G d d      Zy	)
zA Python wrapper around Bokeh.    )annotations)TYPE_CHECKINGcast)show_deprecation_warning)gather_metrics)DeltaGeneratorc                  J    e Zd Z ed      	 d	 	 	 	 	 dd       Zedd       Zy)
BokehMixinbokeh_chartc                0    t        d       | j                  S )ae  Display an interactive Bokeh chart.

        Bokeh is a charting library for Python. You can find
        more about Bokeh at https://bokeh.pydata.org.

        .. Important::
            This command has been deprecated and removed. Please use our custom
            component, |streamlit-bokeh|_, instead. Calling st.bokeh_chart will
            do nothing.

        .. |streamlit-bokeh| replace:: ``streamlit-bokeh``
        .. _streamlit-bokeh: https://github.com/streamlit/streamlit-bokeh

        Parameters
        ----------
        figure : bokeh.plotting.figure.Figure
            A Bokeh figure to plot.

        use_container_width : bool
            Whether to override the figure's native width with the width of
            the parent container. If ``use_container_width`` is ``True`` (default),
            Streamlit sets the width of the figure to match the width of the parent
            container. If ``use_container_width`` is ``False``, Streamlit sets the
            width of the chart to fit its contents according to the plotting library,
            up to the width of the parent container.
        zst.bokeh_chart has been deprecated and removed. Please use our custom component, [streamlit-bokeh](https://github.com/streamlit/streamlit-bokeh), instead. Calling st.bokeh_chart will do nothing.)r   dg)selffigureuse_container_widths      ]/var/www/html/land_sniper/venv/lib/python3.12/site-packages/streamlit/elements/bokeh_chart.pyr   zBokehMixin.bokeh_chart   s    B 	!?	
 ww    c                    t        d|       S )zGet our DeltaGenerator.r   )r   )r   s    r   r   zBokehMixin.dgH   s     $d++r   N)T)r   objectr   boolreturnr   )r   r   )__name__
__module____qualname__r   r   propertyr    r   r   r
   r
      sO    M" %)&& "& 
	& #&P , ,r   r
   N)__doc__
__future__r   typingr   r   streamlit.deprecation_utilr   streamlit.runtime.metrics_utilr   streamlit.delta_generatorr   r
   r   r   r   <module>r"      s*    % " & :8-, -,r   