logo

... altair: properties



Notes

The final plot is created via;

days = ['Mon', 'Tues', 'Wed', 'Thurs', 'Fri', 'Sat', 'Sun']

(alt.Chart(plot_df)
  .mark_point()
  .encode(x='yday', y='births', color=alt.Color('wday', sort=days))
  .properties(width=600, height=250)
  .interactive())

Feedback? See an issue? Something unclear? Feel free to mention it here.



If you want to be kept up to date, consider signing up for the newsletter.