Session Ready
Exercise

Plots

You will now create a figure in which you can visualize the departure delay by origin and the average total delay by carrier.

Instructions
100 XP
  • Create a figure with two axes (2 rows and 1 column).
  • Use seaborn and flights to create a boxplot of 'origin' and 'dep_delay' on x and y axes, respectively.
  • Use seaborn and tdel_car to create a bar plot of 'carrier' and 'total_delay' on x and y axes, respectively.
  • Label the boxplot: 'Originating airport and the departure delay'.