Overview

Request 717974 accepted

- Update to Version 3.1.0
Update includes full compatibility with version 3.3 of Vega-Lite.
+ Enhancements
* Added support for vega themes via ``alt.themes.enable(theme_name)``
* Added an ``alt.renderers.disable_max_rows()`` method for disabling the
maximum rows check
* Improved user-facing warnings/errors around layering and faceting .
* ``data`` argument is now properly handled by ``Chart.properties``
* 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.
* ``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)
+ Bug fixes
* Make ``chart.serve()`` and ``chart.save()`` respect the data transformer
setting
* Fixed a deserialization bug for certain chart specs in schemapi
+ 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``
- Update to Version 3.0.1
* Fix version info bug for HTML output and Colab & Kaggle renderers.

Request History
Todd R's avatar

TheBlackCat created request

- Update to Version 3.1.0
Update includes full compatibility with version 3.3 of Vega-Lite.
+ Enhancements
* Added support for vega themes via ``alt.themes.enable(theme_name)``
* Added an ``alt.renderers.disable_max_rows()`` method for disabling the
maximum rows check
* Improved user-facing warnings/errors around layering and faceting .
* ``data`` argument is now properly handled by ``Chart.properties``
* 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.
* ``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)
+ Bug fixes
* Make ``chart.serve()`` and ``chart.save()`` respect the data transformer
setting
* Fixed a deserialization bug for certain chart specs in schemapi
+ 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``
- Update to Version 3.0.1
* Fix version info bug for HTML output and Colab & Kaggle renderers.


Todd R's avatar

TheBlackCat accepted request

openSUSE Build Service is sponsored by