I manage to download the latest matplotlib 1.5.1 using pipista. However, I dont know how to replace current matplotlib (1.3) and using it in my code.
I couldnt run below code using current matplotlib:
import numpy as np
import matplotlib.pyplot as plt
from matplotlib import style
style.use("ggplot")
x = [1, 5, 1.5, 8, 1, 9]
y = [2, 8, 1.8, 8, 0.6, 11]
plt.scatter(x,y)
plt.show()
Any help would be appreciated.
Many Thanks.