sea-level-predictor/sea_level_predictor.py
2020-09-29 09:50:39 -05:00

23 lines
389 B
Python

import pandas as pd
import matplotlib.pyplot as plt
from scipy.stats import linregress
def draw_plot():
# Read data from file
# Create scatter plot
# Create first line of best fit
# Create second line of best fit
# Add labels and title
# Save plot and return data for testing (DO NOT MODIFY)
plt.savefig('sea_level_plot.png')
return plt.gca()