/tests/two.py
Python | 14 lines | 8 code | 6 blank | 0 comment | 0 complexity | b1cff61a2f3df5482cedea8d801b59f6 MD5 | raw file
- import pandas
- import bokeh
- from bokeh.functional import *
- df = pandas.read_csv("auto-mpg.csv")
- s = ggplot(df, aes("displ", "mpg", color="red")) + geom_point()
- u = ggplot(df, aes("hp", "weight")) + \
- aes(color="green") + \
- geom_point()