Includes many reworked examples in the example gallery.
-
Better errors for non-string column names, as well as automatic conversion of
pandas.RangeIndex
columns to strings (#1107) -
Renderers now have set_embed_options() method (#1203)
-
Added kaggle renderer & more HTML output options (#1123)
-
fix typing requirement in Python 3.6+ (#1185)
-
Added support & CI testing for Python 3.7 (#1008)
- Selection predicates now recognize all valid entries (#1143)
- Python 2 support for
chart.save()
(#1134)
- fix missing JSON resource in
altair.vega.v4
(#1097)
-
appropriate handling of InlineData in dataset consolidation (#1092)
-
fix admonition formatting in documentation page (#1094)
-
better handling of datetimes and timezones (#1053)
-
all inline datasets are now converted to named datasets and stored at the top level of the chart. This behavior can be disabled by setting
alt.data_transformers.consolidate_datasets = False
(#951 & #1046) -
more streamlined shorthand syntax for window transforms (#957)
alt.SortField
renamed toalt.EncodingSortField
andalt.WindowSortField
renamed toalt.SortField
(#3741)
-
Fixed serialization of logical operands on selections within
transform_filter()
: (#1075) -
Fixed sphinx issue which embedded chart specs twice (#1088)
-
Avoid Selenium import until it is actually needed (#982)
-
add a
scale_factor
argument tochart.save()
to allow the size/resolution of saved figures to be adjusted. (#918) -
add an
add_selection()
method to add selections to charts (#832) -
add
chart.serve()
andchart.display()
methods for more flexibility in displaying charts (#831) -
allow multiple fields to be passed to encodings such as
tooltip
anddetail
(#830) -
make
timeUnit
specifications more succinct, by parsing them in a manner similar to aggregates (#866) -
make
to_json()
andto_csv()
have deterministic filenames, so in json mode a single datasets will lead to a single on-disk serialization (#862)
-
make
data
the first argument for all compound chart types to match the semantics ofalt.Chart
(this includesalt.FacetChart
,alt.LayerChart
,alt.RepeatChart
,alt.VConcatChart
, andalt.HConcatChart
) (#895). -
update vega-lite to version 2.4.3 (#836)
- Only API change is internal:
alt.MarkProperties
is nowalt.MarkConfig
- Only API change is internal:
- update vega to v3.3 & vega-embed to v3.11 in html output & colab renderer (#838)
- Complete rewrite of Altair, focused on supporting Vega-Lite 2.X
This version of Altair is based on Vega-Lite 1.2.1.
-
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 settingChart.validated_columns=False
. -
Raise
MaxRowsExceeded
if the number of rows in the dataset is larger thanChart.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 asaltair.v1
is aliased toaltair
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.
- Make sure default mark is a point (#344).
-
Update to Vega-Lite 1.2 and make all its enhancements available to Altair
-
Add
Chart.serve
method (#197) -
Add
altair.expr
machinery to specify transformations and filterings (#215) -
Add
Chart.savechart
method, which can output JSON, HTML, and (if Node is installed) PNG and SVG. See https://altair-viz.github.io/documentation/displaying.html (#213)
- Countless minor bug fixes
-
Update to Vega-Lite 1.2.1 and add its supported features
-
Create website: http://altair-viz.github.io/
-
Set up Travis to run conda & pip; and to build documentation
- Initial release of Altair