Demo entry 6348260

123

   

Submitted by 8173 on Feb 19, 2017 at 14:10
Language: Python 3. Code size: 353 Bytes.

from ggplot import aes, geom_line, ggplot, meat
import matplotlib.pyplot as plt

from bokeh import mpl
from bokeh.plotting import output_file, show

g = ggplot(aes(x='date', y='beef'), data=meat) + geom_line()
g.draw()

plt.title("Line ggplot-based plot in Bokeh.")

output_file("ggplot_line.html", title="ggplot_line.py example")

show(mpl.to_bokeh())

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).