Altair latest version

v4.1.0


Altair v4.1.0 Release Notes

Release Date: 2020εΉ΄04月01ζ—₯ // almost 6 years ago
    • Minimum Python version is now 3.6
    • πŸš€ Update Vega-Lite to version 4.8.1; many new features and bug fixes from Vega-Lite versions 4.1 through 4.8; see Vega-Lite Release Notes.

    ✨ Enhancements

    • strokeDash encoding can now be used to control line styles (Example: Multi Series Line Chart
    • πŸ’Ύ chart.save() now relies on altair_saver for more flexibility (#1943).
    • New chart.show() method replaces chart.serve(), and relies on altair_viewer to allow offline viewing of charts (#1988).

    πŸ› Bug Fixes

    • πŸ‘Œ Support Python 3.8 (#1958)
    • πŸ‘Œ Support multiple views in JupyterLab (#1986)
    • πŸ‘Œ Support numpy types within specifications (#1914)
    • πŸ‘Œ Support pandas nullable ints and string types (#1924)

    🚧 ##Maintenance

    • Altair now uses black and flake8 for maintaining code quality & consistency.

Previous changes from v4.0.0

  • πŸš€ Altair Version 4.0.0 release

    πŸ”– Version 4.0.0 is based on Vega-Lite version 4.0, which you can read about at
    πŸš€ https://github.com/vega/vega-lite/releases/tag/v4.0.0.

    βœ… It is the first version of Altair to drop Python 2 compatibility, and is tested
    on Python 3.5 and newer.

    ✨ Enhancements

    πŸ‘Œ Support for interactive legends: (Example)
    interactive legend

    πŸ“± Responsive chart width and height: (Example)
    dynamic width

    πŸ“± Bins responsive to selections: (Example)
    πŸ“± responsive bin

    πŸ†• New pivot transform: (Example)
    pivot

    πŸ†• New Regression transform: (Example)
    regression

    πŸ†• New LOESS transform: (Example)
    loess

    πŸ†• New density transform: (Example)
    density

    Image mark (Example)
    image

    πŸ†• New default html renderer, directly compatible with Jupyter Notebook and
    JupyterLab without the need for frontend extensions, as well as tools like
    nbviewer and nbconvert, and related notebook environments such as Zeppelin,
    0️⃣ Colab, Kaggle Kernels, and DataBricks. To enable the old default renderer, use:

    alt.renderers.enable('mimetype')
    

    πŸ‘Œ Support per-corner radius for bar marks: (Example)
    round-bar

    Grammar Changes

    Sort-by-field can now use the encoding name directly. So instead of

    alt.Y('y:Q', sort=alt.EncodingSortField('x_field', order='descending'))
    

    you can now use::

    alt.Y('y:Q', sort="-x")
    

    πŸ”§ The rangeStep argument to :class:Scale and :meth:Chart.configure_scale is deprecated.
    instead, use chart.properties(width={"step": rangeStep}) or
    πŸ”§ chart.configure_view(step=rangeStep).

    align, center, spacing, and columns are no longer valid chart properties, but
    🚚 are moved to the encoding classes to which they refer.

Awesome Python is part of the LibHunt network. Terms. Privacy Policy.

(CC)
BY-SA
We recommend Spin The Wheel Of Names for a cryptographically secure random name picker.

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /