Calmcode - altair: maxrowserror

Minor downsides to be aware of in Altair.

1 2 3 4 5 6 7 8 9

Turn off MaxRowsError

There are many things to like about Altair but you should be aware that it also has limits. The main downside is that it usually has a lot of trouble with drawing lots of datapoints. That's why it usually has a max-row warning turned on.

You could turn it off, but please be careful. Not every browser will be able to handle it.

import altair as alt

alt.data_transformers.disable_max_rows()

Altair Gallery

If you'd like to see more examples, feel free to check out the altair gallery.