larq / docs

Docs website for Larq, Larq Zoo, and Larq Compute Engine
https://docs.larq.dev
Apache License 2.0
5 stars 2 forks source link

⬆️ Bump altair from 5.1.2 to 5.2.0 #454

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 10 months ago

Bumps altair from 5.1.2 to 5.2.0.

Release notes

Sourced from altair's releases.

Version 5.2.0

What's Changed

Enhancements

  1. Support offline HTML export using vl-convert (#3251)

You now can use:

chart.save('chart.html', inline=True)

To create an HTML file with inline JavaScript dependencies. This enhancements takes advantage of HTML bundling support in vl-convert to replace the dependency on altair_viewer. Vega-Altair 5.2.0 expects version 1.1.0 of the soft dependency vl-convert for this enhancement.


  1. Support saving charts as PDF files using the vl-convert export engine (#3244)

You now can use:

chart.save('chart.pdf')

To create an PDF representation of your chart. This enhancements takes advantage of PDF support in vl-convert to replace the dependency on altair_saver. Vega-Altair 5.2.0 expects version 1.1.0 of the soft dependency vl-convert for this enhancement.


  1. Support converting charts to sharable Vega editor URLs with chart.to_url() (#3252)

You now can use:

chart.to_url()

To generate a Vega editor URL that opens the chart's specification in the online Vega editor. This enhancements takes advantage of lz-string URL-compatible compression in vl-convert. Vega-Altair 5.2.0 expects version 1.1.0 of the soft dependency vl-convert for this enhancement.

Example:

import altair as alt
from vega_datasets import data

chart = alt.Chart(data.cars.url).mark_point().encode( x='Horsepower:Q', y='Miles_per_Gallon:Q', color='Origin:N' )

print(chart.to_url())

https://vega.github.io/editor/#/url/vega-lite/N4Igxg9gdgZglgcxALlANzgUwO4tJKAFzigFcJSBnAdTgBNCALFAZgAY2AacaYsiygAlMiRoVYcAvpO50AhoTl4QpAE4AbFCDGEADpWQB6Q2DpQAdACtKdTOrhpV5qJkKGougLaG0mBHIBaeUVKV0oAATQARnMAJgBOczZDYLkTOVVKK0poEBkQTwyAa2VCAE9dTC1dCBJxfMwoSDoSJFQedQhVZXg7Oi0AeVVEEhBucsqtKAhPEjlNfIAPHqx1fuQQQS7QmuxMbvGKqo2AR1I5IjhFYl887jKVvq0AWTh1TEoAfUrVT4BxeadKBjEATY4gM4XYjXBxVaTcAAklDAjEwhS0On0Rh8fjk5gQV0YpAARuY4BBDMjUYUcf4AvZCJgfABWcxRABs5hY2VykiAA


  1. Pass format_locale and time_format_locale through to vl-convert to support locales in static image export (#3274)

... (truncated)

Commits
  • 3bf4518 maint: bump version to 5.2.0
  • 240c009 doc: maintain colors (#3276)
  • 13d2cc6 doc: add example, interval selection on a map (#3275)
  • aefce42 Pass locale info through to vl-convert, default to display embed options when...
  • 5634a5d Update to Vega-Lite 5.16.3 (#3273)
  • dd5b61a Type hints: Finish type hints and mark package as typed (#3272)
  • 1e17571 Fix broken JupyterWidget chart by pinning Vega (#3269)
  • 4a1564b Type hints: Infer types from vegalite schema for autogenerated code (#3208)
  • bf52ed1 Make facet error more informative (#3264)
  • 6cc31d6 [Doc] Add scatter plot with shaded area example (#3256)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)