示例#1
0
import iSeaborn as isn
from bokeh.plotting import output_file, save

tips = isn.load_dataset("tips")
fig = isn.barplot(x="tip", y="day", data=tips)

output_file("horizontalBar.html")
save(fig)
示例#2
0
import iSeaborn as isn
from bokeh.plotting import output_file, save

tips = isn.load_dataset("tips")
fig = isn.barplot(x="day", y="total_bill", data=tips)

output_file("basicBarPlot.html")
save(fig)
示例#3
0
import iSeaborn as isn

tips = isn.load_dataset("tips")

isn.barplot(x="day", y="total_bill", data=tips, palette="Blues_d", alpha=1.0)
import iSeaborn as isn
from bokeh.plotting import output_file, save
from numpy import median

tips = isn.load_dataset("tips")
fig = isn.barplot(x="day", y="tip", data=tips, estimator=median)

output_file("setDesiredEstimator.html")
save(fig)
import iSeaborn as isn
from bokeh.plotting import output_file, save

tips = isn.load_dataset("tips")
fig = isn.barplot(x="day", y="total_bill", data=tips, tools="pan, save")

output_file("chooseInteractiveTools.html")
save(fig)
示例#6
0
import iSeaborn as isn
from bokeh.plotting import output_file, save

tips = isn.load_dataset("tips")
fig = isn.barplot(x="day",
                  y="total_bill",
                  data=tips,
                  plot_width=600,
                  plot_height=200,
                  plot_title="Awesome Plot Title")

output_file("setPlotProps.html")
save(fig)
import iSeaborn as isn
from bokeh.plotting import output_file, save

tips = isn.load_dataset("tips")
fig = isn.barplot(x="day", y="total_bill", data=tips, color="salmon")

output_file("setPrefferedColor.html")
save(fig)
示例#8
0
import iSeaborn as isn
from bokeh.plotting import output_file, save

tips = isn.load_dataset("tips")
fig = isn.barplot(x="day", y="total_bill", data=tips, alpha=0.3)

output_file("vbarProps.html")
save(fig)
示例#9
0
import iSeaborn as isn
from bokeh.plotting import output_file, save

tips = isn.load_dataset("tips")
fig = isn.barplot(x="time", y="tip", data=tips,order=["Lunch", "Dinner"])

output_file("controlPlotOrders.html")
save(fig)