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...
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...
I have a Bokeh plotting app, and I need to allow the user to upload a CSV file and modify the plots according to the data in it.  Is it possible to do this with the available widgets of Bokeh? Thank you very much....
It would be nice to be able to interactively display and hide lines in a bokeh plot. Say, I have created my plot something like this:  from bokeh.plotting import output_file, figure, show from numpy.random import normal, uniform  meas_data_1 = normal...
I've been looking through the examples, docs and google and I can't find an example or explanation of how to do this simply...  I'm using the JavaScript library directly, and when I add a glyph to the plot, I just want to specify an order...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.