This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import streamlit as st | |
| import numpy as np | |
| #------------------------------------------------------ | |
| #-- Side bar | |
| #------------------------------------------------------ | |
| st.sidebar.markdown('## Pagination') | |
| pagSelected = st.sidebar.radio('Choose a page: ', ['A','B','Crash']) | |
| #------------------------------------------------------ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Example in C#: https://stackoverflow.com/questions/5042712/calculate-average-function-of-several-functions | |
| # This code is a simple example showing the average function g(x) of two functions f(x) and f'(x). | |
| # Note, this average work with multiple functions. | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| fig = plt.figure(figsize=(5, 3)) |