Sea-level-predictor: test_plot_lines

Tell us what’s happening:
Error on test_plot_lines (test_module.LinePlotTestCase)

Error:
actual = self.ax.get_lines()[0].get_ydata().tolist()
AttributeError: ‘list’ object has no attribute ‘tolist’

I think this is because I used plt.axline to make lines of best fit.
Please fine my repl.it below.


Your code so far

Challenge: Sea Level Predictor

Link to the challenge: