Answers for "new plot matplotlib"

5

plot using matplotlib

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

pyplot new figure

from matplotlib import pyplot as plt

plt.figure(figsize=(15, 5))
Posted by: Guest on June-08-2021

Python Answers by Framework

Browse Popular Code Answers by Language