tonton-golio / computational_physics

computational_physics
https://physics.streamlit.app/
MIT License
4 stars 1 forks source link

add analytics to all pages #4

Open antongolles opened 1 year ago

antongolles commented 1 year ago

Has been added to Orel and AppStat.Add to the remaining pages.

The navigator should be in the style of the shown on OREL:

if __name__ == '__main__':
    functions = [pre_start, multi_armed_bandit, week1_notes, lecture2_notes, lecture3_notes, lecture_feb_23_notes, #cart_pole, #lunar_lander
                ]
    with streamlit_analytics.track():

        navigator(functions)

note: function_names may be provided.