altair remove or suppress automatically generated plot legend
When using the altair package I’ve noticed that when a chart is created a plot legend is also generated. The follow code: import altair as alt from vega_datasets import data alt.renderers.enable(‘notebook’) cars = data.cars() alt.Chart(cars).mark_circle().encode(x=’Horsepower’, y=’Miles_per_Gallon’, color=’Origin’, tooltip=[‘Name’, ‘Origin’, ‘Horsepower’, ‘Miles_per_Gallon’]).interactive() produces this graph: my question: is there any possible way to suppress this plot … Read more