Altair: Using alt.data_transformers.enable on azure notebook

Created on 9 Aug 2019  路  1Comment  路  Source: altair-viz/altair

I had more than 5000 rows of data so I followed the documentation to use the JSON data transformer but with it, I see no data in the plot:
image

I also tried installing altair-data-server with jupyter-server-proxy and then using alt.data_transformers.enable('data_server_proxied') but it still results in the same problem.

I also tried running the colab notebook linked on the altair data server project but this process fails in the colab notebook as well.

In the end, I ended up using a local jupyterlab instance but it would be nice to be able to use cloud based notebooks with altair

question

Most helpful comment

Please see https://altair-viz.github.io/user_guide/faq.html#maxrowserror-how-can-i-plot-large-datasets

As mentioned there, the local filesystem and dataserver approaches you tried may not work on some cloud-based notebooks, but there are other options available.

Note that Colab works with alt.renderers.enable('data_server'), but not with data_server_proxied.

>All comments

Please see https://altair-viz.github.io/user_guide/faq.html#maxrowserror-how-can-i-plot-large-datasets

As mentioned there, the local filesystem and dataserver approaches you tried may not work on some cloud-based notebooks, but there are other options available.

Note that Colab works with alt.renderers.enable('data_server'), but not with data_server_proxied.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nielsmde picture nielsmde  路  4Comments

DentonGentry picture DentonGentry  路  3Comments

fischcheng picture fischcheng  路  4Comments

bmcfee picture bmcfee  路  3Comments

mroswell picture mroswell  路  4Comments