Mercurial > hg > numerics
changeset 137:a4e6b6ad6907
cleanup + notes
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 21 Mar 2015 10:21:42 -0700 |
parents | cffa11cb91a0 |
children | 488cb433576c |
files | numerics/bar.py |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/numerics/bar.py Tue Mar 17 12:01:16 2015 -0700 +++ b/numerics/bar.py Sat Mar 21 10:21:42 2015 -0700 @@ -6,6 +6,8 @@ See: - http://bokeh.pydata.org/tutorial/solutions/gallery/olympics.html +- http://bokeh.pydata.org/en/latest/tutorial/topical.html +- """ # imports @@ -14,8 +16,6 @@ import tempfile from .data import transpose from .manipulate import ManipulationParser -#from bokeh.charts import Bar -#from bokeh.plotting import * from bokeh.plotting import figure, output_file, show, VBox from collections import OrderedDict @@ -37,6 +37,10 @@ tools="pan,wheel_zoom,box_zoom,reset,resize", x_range=data[0] ) + # see https://github.com/bokeh/bokeh/blob/master/bokeh/plotting_helpers.py#L277 + # for _known_tools + + if not len(data) == 2: raise NotImplementedError('TODO') # -> record TODO items