PageRenderTime 43ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/tests/two.py

http://github.com/pzwang/Bokeh
Python | 14 lines | 8 code | 6 blank | 0 comment | 0 complexity | b1cff61a2f3df5482cedea8d801b59f6 MD5 | raw file
  1. import pandas
  2. import bokeh
  3. from bokeh.functional import *
  4. df = pandas.read_csv("auto-mpg.csv")
  5. s = ggplot(df, aes("displ", "mpg", color="red")) + geom_point()
  6. u = ggplot(df, aes("hp", "weight")) + \
  7. aes(color="green") + \
  8. geom_point()