o
    Y¾±hì  ã                   @   sb   d dl Z d dlZd dlZd dlmZ d
dd„Zejddd e 	d¡ e 
d	¡ eƒ  eeƒ dS )é    N)Ú	show_codeÚreturnc                  C   s¬   t j d¡} t j ¡ }tj dd¡}t  |¡}tddƒD ].}|dd d …f tj dd¡j	dd }| 
|› d¡ | |¡ |  |¡ |}t d¡ q|  ¡  t  d	¡ d S )
Nr   é   ée   éÿÿÿÿé   )Úaxisz
% completegš™™™™™©?ÚRerun)ÚstÚsidebarÚprogressÚemptyÚnpÚrandomÚrandnÚ
line_chartÚrangeÚcumsumÚtextÚadd_rowsÚtimeÚsleepÚbutton)Úprogress_barÚstatus_textÚ	last_rowsÚchartÚiÚnew_rows© r   ú^/var/www/html/Persson_Maskin/env/lib/python3.10/site-packages/streamlit/hello/plotting_demo.pyÚplotting_demo   s   

&

r!   zPlotting demoz:material/show_chart:)Ú
page_titleÚ	page_iconz±
    This demo illustrates a combination of plotting and animation with
    Streamlit. We're generating a bunch of random numbers in a loop for around
    5 seconds. Enjoy!
    )r   N)r   Únumpyr   Ú	streamlitr
   Ústreamlit.hello.utilsr   r!   Úset_page_configÚtitleÚwriter   r   r   r    Ú<module>   s   

ÿ