Questions tagged [ipywidgets]

IPython widgets for the Jupyter Notebook

Read the docs

ipywidgets on github

708 questions
0
votes
1 answer

Is there a way to define a TextBox for Passwords with ipywidgets?

I am using ipywidgets to create text boxes as described in the documentation. That works fine, but I want to create text boxes which show just dots/stars/whatever when an user gives some input, like for a password input box. Is that possible to do…
Alex
  • 34,021
  • 64
  • 178
  • 371
0
votes
1 answer

Cannot import widget from IPython.html.widgets in Spyder

I am using spyder to run my code. from Ipython.html.widgets import interact, ButtonWidget I tried to replace Ipython.html.widgets to ipywidgets and execute it. It threw me back: from ipywidgets import interact, ButtonWidget ImportError: cannot…
Maddy
  • 126
  • 10
0
votes
1 answer

ipywidgets use container inside Tab

Need to set an ipywidget container widget(HBox, VBox, ect.) inside a Tab The following is a dummy example of what I trying to do just using a list of Text widgets as a stand in for any other widget Create a list of what will be in the VBox widget,…
SKArm
  • 51
  • 6
0
votes
2 answers

How to create a ipywidgets from multiple ones?

Let's say I want a widget composed of an IntText widget and a DropDown widget which value is a concatened string of those widgets values. How can I do? Here is an attempt: import re import ipywidgets as ipw from IPython.display import…
PhML
  • 1,030
  • 1
  • 11
  • 20
0
votes
1 answer

Unselect every thing in ipython widget

In a SelectMultiple widget in iPython, is it possible to select nothing (or unselect everything)? There doesn't seem to be any option like that in the documentation.
user1742188
  • 3,085
  • 4
  • 31
  • 52
0
votes
1 answer

How to update plot characteristics (hovertool details and x_range) in a bokeh plot multiple times?

I have a bokeh plot that I would like to update the ranges (x_range and y_range) as well as the hovertool details (field names, etc.) when I update the source data in the plot. The things I've tried haven't worked yet. Any help would be appreciated.…
user1340654
  • 315
  • 1
  • 5
  • 14
0
votes
1 answer

How to efficiently replace element in plot with ipywidgets?

How can I efficiently display similar plots with ipywidgets using Jupyter Notebook? I wish to plot interactively a heavy plot (heavy in the sense that it has lots of data points and takes some time to plot it) and modify a single element of it using…
gota
  • 1,813
  • 2
  • 18
  • 38
0
votes
2 answers

How to install ipywidgets offline (from file)

So I am trying to install ipywidgets-0.0.1 into my Anaconda environment. I am running Anaconda3. Unfortunately, the machine I need to install it on does not have internet access. The basic way to install the package is to run conda install…
Katya Handler
  • 1,956
  • 4
  • 20
  • 40
0
votes
1 answer

How can I read a matrix with ipywidgets?

I want to develop an interactive ipywidget; here I want to read the input as a matrix and compare it with another matrix I saved. How can I read a matrix?
Brando
  • 1
0
votes
1 answer

Ipywidgets select multiple not working? Version 4.1.1 and 5.1.4

a=widgets.SelectMultiple(options = df.columns.tolist(),description = 'X Axis',value=['Totpop']) display(a) This correctly displays the list of columns in a select multiple widget a.value When run directly after displaying the widget, it properly…
sokeefe1014
  • 197
  • 1
  • 1
  • 8
0
votes
0 answers

ipython float slider with pandas datetime series?

I am trying to make an interactive chart with sliders to control date and time So I tried to do this from ipywidgets import widgets, FloatSlider import pandas as pd from matplotlib import pyplot as plt DateList = ['2013-01-01', '2013-01-02',…
KillerSnail
  • 2,637
  • 5
  • 39
  • 59
0
votes
1 answer

Execute IPyWidgets in Google Cloud Datalab

For a project we try to expand the Google Cloud Datalab with IPyWidgets. When we try out IPyWidgets in jupyter notebook (not in google-cloud-datalab) locally, everything run as expected (i.e. we tried to show a Text field, which worked). When we try…
brecht-d-m
  • 341
  • 1
  • 4
  • 15
0
votes
1 answer

modules needed to create a custom widget with ipython?

what are modules needed to create a custom widget? I have installed ipywidgets module with the command : "conda install ipywidgets" and I tried to run this example found in github here but the browser says that the file "jupyter-js-widgets" is not…
DevDev
  • 183
  • 1
  • 11
0
votes
1 answer

Use ipywidgets to interatively find best position matplotlib text

I am interested in using the interact function to use a slider to adjust the position of text in a matplotlib plot (you know, instead of adjusting the position, running the code, and repeating 1000 times). Here's a simple example of a plot import…
Dance Party
  • 2,536
  • 7
  • 30
  • 57
-1
votes
1 answer

Is there a way I can nest two column datas under one column header?

What I want to be doing looks something like: index Price 0 1000 -20 1 500 30 2 200 0 I want to do this because I want to keep track of the price changes? I'm using a ipywidget where I want to use the delta to change the cell…
1 2 3
47
48