Last active
March 17, 2020 18:39
-
-
Save AntonioMarsella/36f47e61c38d622e50b6af9643fefce2 to your computer and use it in GitHub Desktop.
circles with bokeh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bokeh.io import output_file, show | |
from bokeh.plotting import figure | |
plot = figure(x_axis_label='x axis', y_axis_label='y axis',plot_width=400, tools='pan,box_zoom') | |
plot.circle([1,2,3,4,5], [8,6,5,2,3]) #x and y coordinates lists | |
output_file('circle.html') | |
show(plot) #save and open to the browser | |
plot1 = figure() | |
plot1.circle(x=10, y=[2,5,8,12], size=[10,20,30,40]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment