Jak importować matplotlib w Python
from matplotlib import pyplot as plt
import matplotlib.pyplot as plt
Foolish Flamingo
from matplotlib import pyplot as plt
import matplotlib.pyplot as plt
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()
import matplotlib.pylot as plt
from matplotlib import pyplot as plt
import matplotlib.pyplot as plt1
print(dir(plt) == dir(plt1))
True
#install matplotlib
pip install matplotlib
import matplotlib