
    g                         d dl Z d dlZd dlZd dlmZ d Z ej                  dd        ej                  d        ej                  d        e         ee       y)    N)	show_codec                  b   t         j                  j                  d      } t         j                  j                         }t        j
                  j                  dd      }t        j                  |      }t        dd      D ]  }|dd d f   t        j
                  j                  dd      j                  d      z   }|j                  | d       |j                  |       | j                  |       |}t        j                  d        | j                          t        j                  d	       y )
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_rowss         R/var/www/openai/venv/lib/python3.12/site-packages/streamlit/hello/plotting_demo.pyplotting_demor!      s    ::&&q)L**""$K		1%IMM)$E1c]RU#biiooa&;&B&B&B&JJA3j)*x a 	

4  
 IIg    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   numpyr   	streamlitr   streamlit.hello.utilsr   r!   set_page_configtitlewrite r"   r    <module>r,      s]       +,   o9P Q     	- r"   