Altair v1.2.1 Release Notes

Release Date: 2017-10-29 // over 6 years ago
  • This version of Altair is based on Vega-Lite 1.2.1.

    Major additions

    • ๐Ÿ‘Œ Support for JupyterLab/nteract through MIME based rendering. Enable this by calling enable_mime_rendering() before rendering visualizations (#216).

    • ๐Ÿ”„ Change default import in all code and docs to import altair as alt

    • Check for missing and misspelled column names upon exporting or rendering, and raise FieldError (#399) if any problems are found. This can be disabled by setting Chart.validated_columns=False.

    • Raise MaxRowsExceeded if the number of rows in the dataset is larger than Chart.max_rows to guard against sending large datasets to the browser.

    • ๐Ÿšš Move the Vega-Lite 1.x api into altair.v1 to make it easier for us to migrate to Vega-Lite 2.x and continue to support 1.x. No import change are needed as altair.v1 is aliased to altair in this releasealtair.v1 (#377).

    • ๐Ÿšš Moved the example notebooks into a separate repository (https://github.com/altair-viz/altair_notebooks) that has Binder support (#391).

    • โž• Add $schema to top-level JSON spec (#370).

    • ๐Ÿ“š Minor documentation revisions.

    ๐Ÿ› Bug fixes

    • 0๏ธโƒฃ Make sure default mark is a point (#344).