Questions tagged [ipywidgets]

IPython widgets for the Jupyter Notebook

Read the docs

ipywidgets on github

973 questions
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
  • 227
  • 1
  • 3
  • 9
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
  • 3,321
  • 11
  • 46
  • 64
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
  • 371
  • 1
  • 5
  • 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
  • 313
  • 2
  • 12
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
  • 3,459
  • 10
  • 42
  • 67
-1
votes
2 answers

Plotly + Ipywidget to html

I have a sample Python script below that generates a simple plotly graph and widget. Where the widget selector modifies the colour of the line. This works great in a jupyter notebook or VSCode Interactive Python section. Unfortunately when exporting…
-1
votes
1 answer

What a function which produces a matplotlib plot is supposed to return?

I have functions or methods in a class that produce plots with matplotlib. I would like to use that functions in various contexts. I never can be sure about what the function is supposed to return. I will be use that function essentially in jupyter…
Ger
  • 9,076
  • 10
  • 37
  • 48
-1
votes
1 answer

I want it to save. it is supposed to be disabled and shouldn't change but it changes

I clicked the first one then i clicked the second one but they are not staying the same second is correct but the first is empty the widgets were changing when I clicked the other button the first button was resetting to normal from ipywidgets…
-1
votes
1 answer

How to save an interactive plot?

I'm creating an interactive plot using Pywedge Bibliothek in jupyter notebook using this code x=pw.Pywedge_Charts(df, c=None, y='Number_Trips') charts=x.make_charts() charts an example of the output is as follows and i can desactivate as well as…
Hermion
  • 25
  • 6
-1
votes
1 answer

Jupyter Lab controls no longer work ipywidgets with ipympl

I have consistently used the following workflow for fully updating my Jupyter Lab working environments: $ rmvirtualenv my_env $ mkvirtualenv --python=`which python` my_env [my_env] $ pip install -r requirements.txt [my_env] $ jupyter lab…
orome
  • 45,163
  • 57
  • 202
  • 418
-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…
-2
votes
1 answer

Is there a way to observe whether a checkbox in a container of checkboxes is checked and disable all the checkboxes in that container if so?

I'm building an interface in Jupyter Notebook, and for one of the questions being asked (there is a VBox consisting of a Label with the value being the name of the question), users should only be able to select one of the choices. Since I am asking…
flighted
  • 11
  • 2
1 2 3
64
65