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.1.1 #509

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps altair from 4.2.2 to 5.1.1.

Release notes

Sourced from altair's releases.

Version 5.1.1

What's Changed

Full Changelog: vega/altair@v5.1.0...v5.1.1

Version 5.1.0

What's Changed

Enhancements

  1. The chart.transformed_data() method was added to extract transformed chart data

For example when having an Altair chart including aggregations:

import altair as alt
from vega_datasets import data
cars = data.cars.url
chart = alt.Chart(cars).mark_bar().encode(
y='Cylinders:O',
x='mean_acc:Q'
).transform_aggregate(
mean_acc='mean(Acceleration)',
groupby=["Cylinders"]
)
chart

image Its now possible to call the chart.transformed_data method to extract a pandas DataFrame containing the transformed data.

chart.transformed_data()

image This method is dependent on VegaFusion with the embed extras enabled.


  1. Introduction of a new data transformer named vegafusion

VegaFusion is an external project that provides efficient Rust implementations of most of Altair's data transformations. Using VegaFusion as Data Transformer it can overcome the Altair MaxRowsError by performing data-intensive aggregations in Python and pruning unused columns from the source dataset.

The data transformer can be enabled as such:

import altair as alt
alt.data_transformers.enable("vegafusion") # default is "default"
DataTransformerRegistry.enable('vegafusion')

... (truncated)

Commits
  • ac7f0bc maint: bump version to 5.1.1
  • a08b3c6 Update changes.rst to reflect #3179
  • d8a01d2 Jonmmease/infer dtype pandas fallback (#3179)
  • 17e8d07 Fix doctest and run doctests in altair module (#3175)
  • 98b2639 MAINT: bump version to 5.2.0dev
  • 3f2b90f MAINT: bump version to 5.1.0
  • 9b2b0d1 Send initial selections to Python in JupyterChart (#3172)
  • 85c4cc4 update example world projections (#3170)
  • 9fdfae9 Use import_vl_convert in _spec_to_mimebundle_with_engine for better error mes...
  • 303f970 Add return type to transform_extent (#3169)
  • 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 <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)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 1, 2023
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Sep 25, 2023
https://build.opensuse.org/request/show/1113173
by user bnavigator + anag+factory
- Disable altair entrypoint tests: altair 5 removed the vega
  wrappers
  * gh#vega/altair#2829
  * gh#vega/ipyvega#509
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 1, 2023

Superseded by #522.

@dependabot dependabot bot closed this Nov 1, 2023
@dependabot dependabot bot deleted the dependabot/pip/altair-5.1.1 branch November 1, 2023 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