Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump altair from 4.2.2 to 5.2.0 #530

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2023

Bumps altair from 4.2.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

You can trigger a rebase of this PR 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 <dependency name> 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [altair](https://github.com/altair-viz/altair) from 4.2.2 to 5.2.0.
- [Release notes](https://github.com/altair-viz/altair/releases)
- [Commits](vega/altair@v4.2.2...v5.2.0)

---
updated-dependencies:
- dependency-name: altair
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 1, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 1, 2024

Superseded by #550.

@dependabot dependabot bot closed this Apr 1, 2024
@dependabot dependabot bot deleted the dependabot/pip/altair-5.2.0 branch April 1, 2024 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants