Questions tagged [bqplot]
41 questions
0
votes
1 answer
How to remove the frame around the legend with bqplot/pyplot
This is a very easy question for you to answer, I'm sure. I am using bqplot (with pyplot) and by default, the legend is framed. So my question is: how do I remove the frame? With matplotlib, I know that I can simply use plt.legend(frameon=False), do…

Leinahtan
- 57
- 1
- 5
0
votes
1 answer
Apply colormap to line (or segments) using bqplot
Is it possible to apply a colormap to a line using bqplot?
Using matplotlib, one can split the line into segments, collate them and apply the colormap with with matplotlib.collections.LineCollection(segments, cmap='RdBu').set_array(c), and then plot…

Wasabi
- 2,879
- 3
- 26
- 48
0
votes
1 answer
Error While Embedding Jupyter Widgets in Other Contexts than the Notebook
I was trying to make my notebook run in the Nb-viewer with the interaction feature.
I was following this reference :
https://ipywidgets.readthedocs.io/en/latest/embedding.html#save-notebook-widget-state
This is the link of my code…

Rocky_Mental
- 148
- 1
- 2
- 12
0
votes
2 answers
Bqplot rendering new bar at each step in animation instead of moving the original bar
I am trying to animate a bar chart in Bqplot. I would like to be able to update both the x and y values for the bars and have them adjust smoothly.
The code below behaves as expected for 2 of the 3 bars in my chart, but the 3rd bar is redrawn…

user2261682
- 3
- 1
0
votes
1 answer
Only getting one bar in bqplot chart
I have some data of the form:
Name Score1 Score2 Score3 Score4
Bob -2 3 5 7
and im trying to use bqplot to plot a really basic bar chart
i'm trying:
sc_ord = OrdinalScale()
y_sc_rf = LinearScale()
bar_chart = Bars(x=data6.Name,
…

Alistair Downes
- 35
- 2
0
votes
1 answer
bqplot documentation in Python
I'm trying to develop some graphs using bqplot in Python but I'm having some questions regarding the documentation and where I can find the appropriate options to personalize a graph. I'm trying to make a boxplot graph and chenge the axes_options,…

Renan Xavier Cortes
- 141
- 1
- 2
- 7
0
votes
1 answer
Bug in bqplot ? Unexpected behavior of axes limits
I'm experiencing a strange behavior of bqplot inside my jupyter notebook. Am I doing something wrong, or is this probably a bug ? Everything works fine, if I provide a min max parameter for the linear scales in the first place.
import numpy as…

Moritz
- 5,130
- 10
- 40
- 81
0
votes
1 answer
bqplot and ipywidget slider, maximum recursion depth
If I execute the following Notebook everything seems to work fine. However, when I move the slider, the responsiveness of the notebook drops to almost to zero and after a while I get following error:
RecursionError: maximum recursion depth exceeded…

Moritz
- 5,130
- 10
- 40
- 81
0
votes
1 answer
Large amount of data, I need help finding an approach
Have written an application in Python that handles a large amount of data used to generate graphics. I need help finding a technique to allow the user to scroll through the data, in both directions, while displaying a segment of the data in a…

Stephen Sackett
- 107
- 2
0
votes
1 answer
How do you set 'theme-dark' in bqplot?
How do you set a dark theme in bqplot in a jupyter notebook environment?
IE, https://github.com/bloomberg/bqplot/pull/296

Kyb3r
- 49
- 7
0
votes
1 answer
Python module bqplot_extra
I'm trying to follow this presentation from Jupytercom, but the package bqplot_extra seems not available for installation.
ModuleNotFoundError Traceback (most recent call last)
in ()
2
3 from…

alejandrohtadinom
- 113
- 2
- 13