Dan Medeiros
08/30/2024, 3:35 PMJosé Morales
08/30/2024, 5:01 PM%matplotlib inline
?Dan Medeiros
08/30/2024, 9:28 PM%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
fig= plt.figure()
ax= fig.add_subplot(111)
ax.plot([1, 2, 3, 4], [10, 20, 25, 30], color= "lightblue", linewidth= 3)
ax.scatter([0.3, 3.8, 1.2, 2.5], [11, 25, 9, 26], color= "darkgreen", marker= "^")
ax.set_xlim(0.5, 4.5)
plt.show()
I do get a plot, so I know the library is working fine.José Morales
08/30/2024, 9:29 PMDan Medeiros
08/30/2024, 10:35 PMJosé Morales
08/30/2024, 10:45 PMDan Medeiros
08/30/2024, 11:26 PMDan Medeiros
08/31/2024, 3:39 PM