Skip to content

How to draw scatter+line facet chart in altair #3499

Closed Answered by joelostblom
HotWesley asked this question in Q&A
Discussion options

You must be logged in to vote

The error message points you in the right direction: you need to do faceting after layering, rather than before. For your spec, that means adding line and chart together before using the facet method on the layered spec. See this section of the docs for an example https://altair-viz.github.io/user_guide/compound_charts.html#faceted-charts

Duplicate of #3310

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@HotWesley
Comment options

@joelostblom
Comment options

Answer selected by binste
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants