Created
March 6, 2019 03:16
-
-
Save Pabla007/8e2c938688aa3420d38e6f253921db44 to your computer and use it in GitHub Desktop.
Make a interaction gui in Jupyter
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 ipywidgets as widgets | |
import fileplot | |
path=widgets.Text( | |
value=raw_input("Enter the Path Csv File You Want to Plot here : "), | |
#placeholder="File Path", | |
#descrition="String:", | |
#disabled=False | |
) | |
button=widgets.Button( | |
description='Plot', | |
disabled=False, | |
button_style='', # 'success', 'info', 'warning', 'danger' or '' | |
tooltip='Click me', | |
icon='check' | |
) | |
def on_button_clicked(b): | |
#fileplot.load_file(np) | |
fileplot.load_file(path.value) | |
display(path,button) | |
button.on_click(on_button_clicked) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment