please post your error messages (traceback) verbatim
It contains valuable information
It contains valuable information
import matplotlib.pyplot as plt X = [6, 8, 10, 14, 18] Y = [7, 9, 13, 17.5, 18] plt.plot(X, Y, 'k.') plt.axis([0, 25, 0, 25]) plt.grid(True) plt.show()