We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mpl-altair currently doesn't support conversion for Altair charts that use binning.
Code for reproduction
from vega_datasets import data seattle = data.seattle_weather() seattle.head()
Binning color in a scatter plot:
chart = alt.Chart(seattle).mark_point().encode( alt.X('wind'), alt.Y('temp_max'), alt.Color('temp_min', bin=alt.Bin(step=10)) ) mplaltair.convert(chart)
Binning in a bar chart:
chart = alt.Chart(seattle).mark_bar().encode( alt.X('wind', bin=True), alt.Y('count()') ) mplaltair.convert(chart)
Actual outcome
In a chart that would work without binning, binning fails silently and the chart is converted as if binning is always false.
raises NotImplementedError until bar charts and aggregates are working.
NotImplementedError
Expected outcome Converting a scatter plot with binned color should produce a chart that looks something like this:
Converting a binned bar chart should produce a chart that looks something like this:
Possible solution and notes
parse_chart.ChannelMetadata()
For more info
The text was updated successfully, but these errors were encountered:
No branches or pull requests
mpl-altair currently doesn't support conversion for Altair charts that use binning.
Code for reproduction
Binning color in a scatter plot:
Binning in a bar chart:
Actual outcome
In a chart that would work without binning, binning fails silently and the chart is converted as if binning is always false.
Binning color in a scatter plot:
Binning in a bar chart:
raises
NotImplementedError
until bar charts and aggregates are working.Expected outcome
Converting a scatter plot with binned color should produce a chart that looks something like this:
Converting a binned bar chart should produce a chart that looks something like this:
Possible solution and notes
parse_chart.ChannelMetadata()
.For more info
The text was updated successfully, but these errors were encountered: