Re:Using Altair for most of my visualization in Python
by nmca on Monday May 06, 2019 @05:45PM
(#19844235)
Altair is incredible until you realise your plots are bigger than your data. It's annoying, but overall still very good.
[ Parent
| on HN ]
Re:Using Altair for most of my visualization in Python
by domoritz on Monday May 06, 2019 @07:02PM
(#19844802)
This is something we are painfully aware of and have started to work on. For a start, see Jake's work on https://pypi.org/project/altair-data-server/.
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.