Answers for "how to import matplotlib in python as plt"

5

python matplt

import matplotlib.pyplot as plt
plt.plot([1, 2, 3, 4])
plt.ylabel('some numbers')
plt.show()
Posted by: Guest on February-21-2020
0

import matplotlib.pyplot as plt

from matplotlib import pyplot as plt

import matplotlib.pyplot as plt1

print(dir(plt) == dir(plt1))
True
Posted by: Guest on March-15-2020

Code answers related to "how to import matplotlib in python as plt"

Python Answers by Framework

Browse Popular Code Answers by Language