DOC: clean up binding titles
@@ -386,8 +386,8 @@ For instance, using our example from above a dropdown can be used to highlight c
.. altair-plot::
- input_dropdown = alt.binding_select(options=['Europe','Japan','USA'])
- selection = alt.selection_single(fields=['Origin'], bind=input_dropdown, name='Country of ')
+ input_dropdown = alt.binding_select(options=['Europe','Japan','USA'], name='Country')
+ selection = alt.selection_single(fields=['Origin'], bind=input_dropdown)
color = alt.condition(selection,
alt.Color('Origin:N', legend=None),
alt.value('lightgray'))
@@ -423,8 +423,8 @@ Bindings and input elements can also be used to filter data on the client side.
.. altair-plot::
- input_dropdown = alt.binding_select(options=['Europe','Japan','USA'])
- selection = alt.selection_single(fields=['Origin'], bind=input_dropdown, name='Country of ')
+ input_dropdown = alt.binding_select(options=['Europe','Japan','USA'], name='Country')
+ selection = alt.selection_single(fields=['Origin'], bind=input_dropdown)
alt.Chart(cars).mark_point().encode(
x='Horsepower:Q',
