I'd like to do something like this in altair
What I have accomplished so far is the following, and I can't figure out how to paint the background as I need
import pandas as pd
from vega_datasets import data
source = data.cars()
line = alt.Chart(source).mark_line().encode(
x='Year',
y='mean(Miles_per_Gallon)'
)
band0 = alt.Chart(pd.DataFrame({'y': [20]})).mark_rule(color='red').encode(y='y')
band1 = alt.Chart(pd.DataFrame({'y': [30]})).mark_rule(color='orange').encode(y='y')
line + band0 + band1
Thanks in advance! Lorena