o
    ,&]iº
  ã                   @  sZ   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„ dƒZd	S )
zA Python wrapper around Bokeh.é    )Úannotations)ÚTYPE_CHECKINGÚcast)Úshow_deprecation_warning)Úgather_metrics)ÚDeltaGeneratorc                   @  s0   e Zd Zedƒ	ddd	d
„ƒZeddd„ƒZdS )Ú
BokehMixinÚbokeh_chartTÚfigureÚobjectÚuse_container_widthÚboolÚreturnr   c                 C  s   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.
        zÂst.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)Úselfr
   r   © r   ú\/var/www/html/IGF-ODF-V3/venv/lib/python3.10/site-packages/streamlit/elements/bokeh_chart.pyr	      s   !ÿzBokehMixin.bokeh_chartc                 C  s
   t d| ƒS )zGet our DeltaGenerator.r   )r   )r   r   r   r   r   H   s   
zBokehMixin.dgN)T)r
   r   r   r   r   r   )r   r   )Ú__name__Ú
__module__Ú__qualname__r   r	   Úpropertyr   r   r   r   r   r      s    ý(r   N)Ú__doc__Ú
__future__r   Útypingr   r   Ústreamlit.deprecation_utilr   Ústreamlit.runtime.metrics_utilr   Ústreamlit.delta_generatorr   r   r   r   r   r   Ú<module>   s   