I am trying to create a plot using bokeh to visualize my data on IPython Notebook. I want to add some widgets to make it more interactive. Below is an example of the codes.  from bokeh.models import CustomJS, ColumnDataSource from bokeh.plotting impo...
I want to update my plot data based on the current mouse position.  What I'm aiming for is something like the interactive power function plot, but instead of taking the exponent from a slider, take the exponent to be the current x-value of the mo...
I have a Bokeh application that makes use of the Python callbacks for various widget events. With certain events, I'd like to execute some JavaScript code before making the callback to the Python function. Is this possible?  In this case, the Pyt...
Do you know how to get Bokeh DataTable cell value by clicking on it?  If I use:  data = dict(  items=bokehItems,     values0=bokehValues0,     values1=bokehValues1,     values2=bokehValues2 )  source = ColumnDataSource(data)  columns = [     TableCol...
How can one make bokeh use zoom only on one axis and automatically scale objects, so they take exactly the space given and add some padding on extreme points off zoom-able axis parallels, while rendering empty space out of scope?  In other words (or...
Using Jupyter notebook, how to have one slider interactively update two independent functions in two figures? There is a link to a similar question without answer here.  Using Bokeh Javascript Callback slider power example, I tried adding a second se...
How can I update the values of my DataTable widget using Select widget? Here is my sample code:  import pandas as pd from bokeh.io import show from bokeh.layout import column from bokeh.models import ColumnDataSource, CustomJS, Select from bokeh.mode...
I have modified this example. What I want- eventually- is a way to get the datapoints selected in a graph and modifiy them in the python code. Thus I added a function here that should return the values from the second graph (thats what the button is...
I am adapting this answer for my case, where I want an interactive, standalone graph where the slider selects which column of the data to plot in a bar chart. (Standalone is crucial, I cannot run a Bokeh server, thus the need for JavaScript callbacks...
I have this scenario:   I have some data (in a pandas dataframe) that I use to draw my plots When I press a button (built by a bokeh widget) I can call my callback method and I do my computation in python. But now I want to send the computed data bac...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.