diff --git a/doc/user_guide/interactions/parameters.rst b/doc/user_guide/interactions/parameters.rst index a569fb0c5..eeaf8d0f8 100644 --- a/doc/user_guide/interactions/parameters.rst +++ b/doc/user_guide/interactions/parameters.rst @@ -318,7 +318,7 @@ selection: return alt.Chart(cars).mark_rect().encode( x="Cylinders:O", y="Origin:N", - color=alt.when(brush).then("count()").otherwise(alt.value("lightgray")), + color=alt.when(selector).then("count()").otherwise(alt.value("lightgray")), ).properties( width=300, height=180