1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Python for Finance

Connected

Exercise

Scatterplots

The pyplot module can also be used to make other types of plots, like scatterplots. Let's make a scatterplot of the company's stock prices over time.

Two lists, days and prices are available in your workspace.

Instructions

100 XP
  • Draw a scatterplot with days on the x-axis and prices on the y-axis with green markers.
  • Display the plot with the show() function.