google datalab chart cell magic does not work in local jupyter notebook

400 views Asked by At

I want to make some nice charts like you can see here or here.

Normal Querying via %%bq -n data works fine.

I installed datalab like described.

If i try to make a chart with this %chart line -d data -f field1,field2 logic, something happens, but no plot appears.

1

There are 1 answers

1
Nico Albers On BEST ANSWER

The solution is not mentioned in the "Using in Jupyter" section in the installation readme, but on another wiki page I found: Jupyter Kernel and Notebook Extensions .

It's, to install a nbextension:

jupyter nbextension install --py datalab.notebook --sys-prefix

That worked fine for me.