All Versions
16
Latest Version
Avg Release Cycle
75 days
Latest Release
130 days ago

Changelog History
Page 1

  • v3.2.0

    August 05, 2019

    🔖 Version 3.2.0 (released August 5, 2019)

    🚀 Upgraded to Vega-Lite version 3.4 (See Vega-Lite 3.4 Release Notes).

    Following are changes to Altair in addition to those that came with VL 3.4:

    ✨ Enhancements

    • Selector values can be used directly in expressions (#1599)
    • Top-level chart repr is now truncated to improve readability of error
      messages (#1572)

    🐛 Bug Fixes

    • top-level add_selection methods now delegate to sub-charts. Previously
      they produced invalid charts (#1607)
    • 🚚 Unsupported mark_*() methods removed from LayerChart (#1607)
    • 🆕 New encoding channels are properly parsed (#1597)
    • Data context is propagated when encodings are specified as lists (#1587)

    Backward-Incompatible Changes

    • alt.LayerChart no longer has mark_*() methods, because they never
      produced valid chart specifications) (#1607)
  • v3.1.0

    June 06, 2019

    ⚡️ Update includes full compatibility with version 3.3 of Vega-Lite.

    ✨ Enhancements

    • ➕ Added support for vega themes via alt.themes.enable(theme_name) (#1539)

    • Added an alt.renderers.disable_max_rows() method for disabling the maximum rows check (#1538)

    • 👌 Improved user-facing warnings/errors around layering and faceting (#1535).

    • data argument is now properly handled by Chart.properties (#1525)

    • 🚚 Compound charts (layer, concat, hconcat, vconcat) now move data to the top level by default. In particular, this means that the facet() method can now be called directly on a layered chart without having to change how data is specified. (#1521)

    • 👍 alt.LayerChart now supports mark_*() methods. If a layer specifies a mark at the top level, all child charts will inherit it (unless they override it explicitly).

    • alt.Chart.facet() now handles wrapped facets; for example:

      chart.facet('column_name', columns=5)
      

      See altair/examples/us_population_over_time_facet.py for a more complete example.

    🐛 Bug fixes

    • 👉 Make chart.serve() and chart.save() respect the data transformer setting (#1538)

    • 🛠 Fixed a deserialization bug for certain chart specs in schemapi (#1543)

    Backward-Incompatible Changes

    • alt.Chart.facet() now accepts a wrapped facet encoding as a first positional argument, rather than a row encoding. The following are examples of old invocations, and the equivalent new invocations:

      • chart.facet(row='col1', column='col2'): unchanged
      • chart.facet('col1', 'col2'): change to chart.facet(row='col1', column='col2')
      • chart.facet('col1'): change to chart.facet(row='col1')

    In each case, the new invocations are compatible back to Altair 2.X.

    • Several of the encoding channels added in 3.0 have had their capitalization corrected to better match the names used in the schema:

      • alt.Fillopacity -> alt.FillOpacity
      • alt.Strokeopacity -> alt.StrokeOpacity
      • alt.Strokewidth -> alt.StrokeWidth
      • alt.Xerror -> alt.XError
      • alt.Xerror2 -> alt.XError2
      • alt.Yerror -> alt.YError
      • alt.Yerror2 -> alt.YError2
  • v3.0.1

    May 01, 2019

    🛠 Fix version info bug for HTML output and Colab & Kaggle renderers.

  • v3.0.0

    April 26, 2019

    ⚡️ Update to Vega-Lite 3.2 and Vega 5.3 & support all new features. See 🚀 https://github.com/vega/vega-lite/releases/tag/v3.0.0 for Vega-Lite 🔋 feature lists.

    Highlights:

    • new compound marks: mark_boxplot(), mark_errorband(), mark_errorbar()
    • new transforms: transform_impute(), transform_joinaggregate(), transform_flatten() transform_fold(), transform_sample(), transform_stack()
    • 🆕 new facet encoding that is similar to the row and column encoding, but allows for wrapped facets
    • 🆕 new alt.concat() function that is similar to alt.hconcat and alt.vconcat, but allows for more general wrapped concatenation
    • 🆕 new columns keyword that allows wrapped faceting, repeating, and concatenation.
    • 🛠 many, many bug fixes
    • 🔧 tooltips can now be automatically populated using the tooltip mark configuration.
    • ability to specify initial condisions for selections
  • v3.0.0.rc1

    March 27, 2019
  • v2.4.1

    February 21, 2019

    ✨ Enhancements

    • 📚 Several documentation cleanups & new examples

    🐛 Bug Fixes

    • 🛠 Fix incompatibility with pandas version 0.24 (#1315)
  • v2.3.1

    February 21, 2019
  • v2.3.0

    December 07, 2018

    Includes many reworked examples in the example gallery.

    ✨ Enhancements

    • 👍 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)

    Backward-incompatible changes

    🚧 Maintenance

    • 🛠 fix typing requirement in Python 3.6+ (#1185)

    • ➕ Added support & CI testing for Python 3.7 (#1008)

    🐛 Bug fixes

    • Selection predicates now recognize all valid entries (#1143)
    • 👍 Python 2 support for chart.save() (#1134)
  • v2.2.2

    August 17, 2018

    🐛 Bug Fixes

    • 🛠 fix missing JSON resource in altair.vega.v4 (#1097)
  • v2.2.1

    August 15, 2018

    🐛 Bug Fixes

    • appropriate handling of InlineData in dataset consolidation (#1092)

    • 🛠 fix admonition formatting in documentation page (#1094)