Questions tagged [bokeh]

Bokeh is a library for interactive visualization (including streaming or large datasets) that targets modern web browsers for presentation, and high level languages such as Python, Scala, and R for use.

Bokeh is an interactive visualization library for high level languages such Python, R and Scala, that natively targets modern web technologies. It is easily embeddable in common web-frameworks and can be used for standalone interactive documents, or server-backed data applications for large and streaming datasets.

4729 questions
2
votes
1 answer

In python's Bokeh, how can I remove text above the plot?

With the following code: import bokeh.plotting as bplt bplt.output_file('output.html', mode="cdn") I get an html file with my graph(s); but it has the text: You have 1 plots Close All Plots Above the graph. Is there a way to produce html output…
prooffreader
  • 2,333
  • 4
  • 21
  • 32
2
votes
1 answer

In Bokeh 0.5.0, cannot specify size of chart, and previous versions appear in same output file

The "previous versions" problem is the same one stated in Updated Bokeh to 0.5.0, now plots all previous versions of graph in one window. I'm running this in iPython notebook; every time I rerun the cell the output html file shows all previous…
prooffreader
  • 2,333
  • 4
  • 21
  • 32
2
votes
1 answer

Is it possible to use nbconvert to export a Bokeh plot to a single html file?

I tried to use nbconvert > HTML and it returns random bokeh logos here is my code: import pandas as pd from bokeh.plotting import * output_notebook() df = pd.DataFrame({'rev':[234,345,657,7]}) df line(df['rev'],df['rev'], color="red",…
DataByDavid
  • 1,039
  • 3
  • 13
  • 20
2
votes
1 answer

Bokeh datetime axis should show all yyyy, mm, dd, hh, mm, ss

I create my datetimeindex via datetimes = pd.to_datetime(SeriesOfUnixtimeStamps,"s") line(x=datetimes,y,x_axis_type="datetime",...) Depending on how much I zoom in or out, the x-axis only shows lets say :07:03 instead of 2014-06-12 12:07:03. I…
user2366975
  • 4,350
  • 9
  • 47
  • 87
2
votes
1 answer

Redraw Mandelbrot in Bokeh?

I am learning to use Bokeh for an interactive plotting tool. The issue I have is similar to the case in a Mandelbrot chart, when zooming into it, the new area is redraw. This requires BokehJS to send the new X and Y ranges back the Bokeh backend to…
Shiwen
  • 21
  • 2
2
votes
0 answers

bokeh horizontal scroll none

I'm bokeh user, bokeh is good tools. I use the 'segment' function for graph, this graph is very wide so I use the plot_width=3000 option. but, graph is over display, if I want to see all graph, I save the graph using 'prevew/save' option or 'pan'…
user3359094
  • 103
  • 5
2
votes
2 answers

How to make a cluster style dendrogram in bokeh

I want to make a cluster style dendrogram in bokeh. I like this bokeh dot plot example, but i want to make lines curvy and show a cluster strcuture like this : http://bl.ocks.org/mbostock/4063570 here is code from dot plot from bokeh…
sb32134
  • 426
  • 8
  • 19
2
votes
1 answer

JQuery interferes with bokeh.js. Why?

TL;DR: my index.html declaration of jQuery with bokeh.js interferes with the ability for the script tags in the php page to manifest themselves into the div that they are supposed to be loaded into. Why? I've been trying to embed the output of…
thefourtheye
  • 607
  • 1
  • 6
  • 19
2
votes
1 answer

Bokeh Plot with a nominal or ordinal axis type

Edit: The code in the original question refers to a version of Bokeh that is years out of date. But the answer below has been updated to answer the same question for modern versions of Bokeh Bokeh Plot with a nominal axis type from bokeh.plotting…
Spirou
  • 257
  • 4
  • 10
2
votes
1 answer

bokeh version is abnormal (python 2.76, bokeh 4.2)

I'm user of Bokeh I update the Bokeh yesterday, but I found the abnormal version number import bokeh bokeh.version # under bar ??? result ---> '96d477c368eb4384b048cef164b41c572de1f43f' ???? I don't know that version number is abnormal number
user3359094
  • 103
  • 5
2
votes
2 answers

Bokeh - Runserve.py fail

After hearing Peter Wang talk about the Bokeh plotting environment, I had to try it. The problem is I can't even get the examples to work because I can't get the plot server going. I verified the install of all listed dependencies, and installed…
Marvin Ward Jr
  • 1,019
  • 1
  • 11
  • 30
1
vote
1 answer

How to make a section of the axis log scale and other section to be linear scale to better present the data

I would like to represent my data where values go from 0.00001 to 1 where I am interested in plotting data from 0.00001 to 0.1 in a log scale and from 0.1 to 0.95 in linear scale and then again 0.95 to 1 in log scale. Most of the variations happen…
bob
  • 33
  • 5
1
vote
0 answers

Python Bokeh visualization aspect ratio issue. circle is distorted. why?

I am using the following code in python to visualize a circle with radius = 1 (using Bokeh). However, when I show the circle, it seems like the circle is distorted. As you can see in the plot below, the circle reaches x=+1 and x=-1 on the x-axis as…
ameerosein
  • 523
  • 3
  • 16
1
vote
0 answers

How to add horizontal line between charts

I'm trying to add horizontal line in HTML generated with bokeh. I tried to use following code: horizontal_div = Div(text="
") tmp_charts = list() for chart in charts: tmp_charts.append(horizontal_div) tmp_charts.append(chart) …
muoteck123
  • 11
  • 1
  • 2
1
vote
0 answers

Can't launch web app for interactive dashboard

I am trying to panel serve to launch web app dashboard, but only error below shows in the terminal. Is there anyone know what's problem and how to fix it, Thanks! (co2_dashboard) jiehuilin@Jiehuis-MBP co2_dashboard % panel serve…
J Lin
  • 113
  • 6