CDTPy | Python for Scientists


Scatterbrain

The matplotlib scatterplot function allows you to incorporate another dimension to your plots in the form of a graded colour scale. This can be really useful sometimes and your plots will look awesome.

Objectives

  1. Read the datafile 'data.csv' below.
  2. Create a scatterplot with colourbar (label accordingly)
  3. Perform a linear regression

Resources

Description File/Link
data.csv
Snapshot