e206973444a488dd75e420f8550a41ed61864ba8,docs/api-examples-source/widget.slider.py,,,#,3

Before Change



w = st.slider("Age", 18, min=0, max=100, step=1)
if w > 20:
    print("You can drink now!")

After Change

import streamlit as st

st.subheader("Slider")
with st.echo():
    age = st.slider("How old are you?", 25, 0, 130)
    st.write("I\"m ", age, "years old." )

st.subheader("Range slider")
with st.echo():
    values = st.slider("Select a range of values", (25.0, 75.0), 0.0, 100.0, 1.0)
    st.write("Values:", values)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: streamlit/streamlit
Commit Name: e206973444a488dd75e420f8550a41ed61864ba8
Time: 2019-08-13
Author: erik.hopf@gmail.com
File Name: docs/api-examples-source/widget.slider.py
Class Name:
Method Name:


Project Name: streamlit/streamlit
Commit Name: e37db3d9eb48883f399bfced420dfd89f53649df
Time: 2018-11-25
Author: adrien.g.treuille@gmail.com
File Name: examples/disable_client.py
Class Name:
Method Name:


Project Name: streamlit/streamlit
Commit Name: 9fb112bba862a833a5a64b7d1a7c7e75a7a63ba7
Time: 2018-11-25
Author: adrien.g.treuille@gmail.com
File Name: examples/disable_client.py
Class Name:
Method Name:


Project Name: streamlit/streamlit
Commit Name: e206973444a488dd75e420f8550a41ed61864ba8
Time: 2019-08-13
Author: erik.hopf@gmail.com
File Name: docs/api-examples-source/widget.slider.py
Class Name:
Method Name: