2cb82d9b27909a15e3f3a76acb79cec624b2e566,sphinx/source/docs/user_guide/source_examples/concepts_charts.py,,,#,5
Before Change
grouped = flowers[["petal_length", "petal_width", "species"]].groupby("species")
// create a scatter chart
p = Scatter(grouped, title="iris data", width=400, height=400,
xlabel="petal length", ylabel="petal width", legend="top_left")
// specify how to output the plot(s)
output_file("foo.html")
After Change
from bokeh.sampledata.autompg import autompg as df
// create a scatter chart
p = Scatter(df, x="mpg", y="hp", color="cyl",
title="MPG vs HP (colored by CYL)",
legend="top_right",
xlabel="Miles Per Gallon",
ylabel="Horsepower")
// specify how to output the plot(s)
output_file("chart.html")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: bokeh/bokeh
Commit Name: 2cb82d9b27909a15e3f3a76acb79cec624b2e566
Time: 2015-09-17
Author: bryanv@continuum.io
File Name: sphinx/source/docs/user_guide/source_examples/concepts_charts.py
Class Name:
Method Name:
Project Name: bokeh/bokeh
Commit Name: 7c8be49d75e5fa32c67c272ba29df8477cebbd63
Time: 2015-12-15
Author: nlr06886@gmail.com
File Name: examples/charts/file/scatter_multi.py
Class Name:
Method Name:
Project Name: bokeh/bokeh
Commit Name: bb02077f9478cbde671748fd2a874cf1369fdc50
Time: 2015-09-13
Author: nroth@dealnews.com
File Name: examples/charts/file/scatter.py
Class Name:
Method Name: