Created
January 3, 2022 07:15
-
-
Save kshirsagarsiddharth/06de6017bcbe43bc8cf1f074bff74928 to your computer and use it in GitHub Desktop.
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
| _ = interact(plot_histogram, | |
| palette = widgets.Dropdown( | |
| options = ['pastel','husl','Set2','flare','crest','magma','icefire'] | |
| ), | |
| kde = widgets.RadioButtons( | |
| options = [True,False], | |
| disabled = False), | |
| hue = widgets.ToggleButtons( | |
| options = ['categories','other categories'], | |
| tooltip = ['categories','other categories'], | |
| disabled=False, | |
| button_style = 'success'), | |
| bins = widgets.IntSlider( | |
| value = 10, # intilal value | |
| min = 5, | |
| max = 200, | |
| step = 10 | |
| ), | |
| x_range_1 = widgets.FloatRangeSlider( | |
| value = [-3,3], | |
| min = -5, | |
| max = 5, | |
| step = 0.2, | |
| readout_format='.1f', | |
| ), | |
| ) | |
| interactive(children=(IntSlider(value=10, description='bins', max=200, min=5, step=10), ToggleButtons(button_s… |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment