4 ms·
Can you speak more about this? Are you saying that Altair's speed scales poorly with dataset size?
by mxwsn 7y ago
Can you speak more about this? Are you saying that Altair's speed scales poorly with dataset size?
- nmca 7y agoIt throws an error if you try to plot more than 5000 datapoints by default, internally altair produces a JSON representation (vega-lite) that is larger than the data you plot (because it contains the data you plot, plus formatting information). If you save this output, for example in an ipython notebook, it gets phat pretty quickly. Altair is still great though, but this issue makes it occasionally annoying.
- cuchoi 7y agoJust in case, you can plot datasets larger than 5000. A quick fix is using "alt.data_transformers.enable('json')"