Am I supposed to include something else here? And what is the purpose of these '>> 'and '<< ’ symbols? Am I supposed to include them anywhere?
import matplotlib.pyplot as plt
import numpy as np
import math
plt.xlabel (‘Sepal Length’)
plt.ylabel(‘Petal Length’)
plt.title(‘Sepal vs Petal Length’)
plt.scatter(data[SepalLength], data[PetalLength], c= b)
CodePudding user response:
You're just missing the plt.show()
at the end to display the plot.
CodePudding user response:
Everything you have written expects to plot it.
just add plt.show()