The plotting interface creates a bokeh.plotting.figure.Figure object. The charts interface creates bokeh.charts.chart.Chart objects. These two object types look pretty similar. What is the difference between them? Is one a subclass or a container of another? Can I use the plotting interface to add glyphs to a graph created using charts?
What is the difference between the Figure and the Charts objects

Hi,
Both are subsets of Plot, which is the class that represents every kind of plot on the JavaScript side. As of recent releases, the glyph methods, .circle, etc. have also been added to Chart for convenience. For more information about the different APIs please refer to
http://bokeh.pydata.org/en/latest/docs/user_guide/concepts.html
Thanks,
Bryan
···
On Dec 5, 2016, at 3:13 AM, 'Ivan Petrov' via Bokeh Discussion - Public <bokeh@continuum.io> wrote:
The `plotting` interface creates a `bokeh.plotting.figure.Figure` object. The charts interface creates `bokeh.charts.chart.Chart` objects. These two object types look pretty similar. What is the difference between them? Is one a subclass or a container of another? Can I use the `plotting` interface to add glyphs to a graph created using `charts`?
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/9d64dc7c-3d27-4c3f-844d-bb92d6aedd5b%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

End of archived discussion · Replies are disabled