Skip to content

Conversation

@mscolnick
Copy link
Contributor

@mscolnick mscolnick commented Oct 22, 2025

Fixes #6865

Column faceted charts don't play nicely with width="container", so we should skip adding that as default.

Can be tested with:

import altair as alt
from vega_datasets import data

source = data.barley()
chart = (
    alt.Chart(source)
    .mark_bar()
    .encode(
        x="year:O",
        y="sum(yield):Q",
        color="year:N",
        column="site:N",
    )
)
chart

@vercel
Copy link

vercel bot commented Oct 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Oct 22, 2025 7:02pm

@mscolnick mscolnick merged commit aeefb5a into main Oct 23, 2025
51 of 60 checks passed
@mscolnick mscolnick deleted the ms/column-facet-width branch October 23, 2025 16:27
@dmadisetti dmadisetti added the enhancement New feature or request label Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Altair grouped bar chart has incorrect size

4 participants