You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The selection_interval seems to work neither with fields nor with encodings which are not numeric. Is this a bug or is there simply no support?
Example code:
import altair as alt
from vega_datasets import data as vdata
cars = vdata.cars.url
brush = alt.selection_interval(fields=['Name'])
alt.Chart(cars).mark_point().encode(
x='Miles_per_Gallon:Q',
y='Horsepower:Q',
color='Origin:N',
tooltip=["Name:N"]
).add_selection(
brush
)
The selection_interval seems to work neither with fields nor with encodings which are not numeric. Is this a bug or is there simply no support?
Example code:
error message: Expression parse error: ? selector072_scale_trigger : {}
The same happens if I use
brush = alt.selection_interval(encodings=['color'])
The text was updated successfully, but these errors were encountered: