News for hackers. Stuff that matters.
Re:Using Altair for most of my visualization in Python by mxwsn on Monday May 06, 2019 @05:58PM (#19844340)
Can you speak more about this? Are you saying that Altair's speed scales poorly with dataset size?
Re:Using Altair for most of my visualization in Python by nmca on Monday May 06, 2019 @06:05PM (#19844410)
It 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.

Re:Using Altair for most of my visualization in Python by cuchoi on Monday May 06, 2019 @06:39PM (#19844665)
Just in case, you can plot datasets larger than 5000. A quick fix is using "alt.data_transformers.enable('json')"