Session Ready
Exercise

A happier histogram plot

The stock exchange firm you created the histogram for thinks that all the data and plots being created are too impersonal.

They have requested that a positive message be added to the histogram plot of company revenues you recently created.

You have just the right idea - you can wish the viewer a happy day and use the current day of the week for this!

There is a fig histogram available for you, feel free to show() or print() it to remind yourself what it looks like.

Instructions
100 XP
  • Position the annotation halfway along the x-axis and 95% up the y-axis.
  • Set the correct values for xref and yref to allow for relative positioning.
  • Use the provided today variable in the text, setting the font size to 20 and text color to 'white'.
  • Use the update_layout() method to add the annotation.