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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
export PATH="/home/leomaurodesenv/anaconda3/bin:$PATH" | |
# Path to your oh-my-zsh installation. | |
export ZSH="/home/leomaurodesenv/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME |
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)) |