s452094-plots/plot.py

6 lines
128 B
Python
Raw Normal View History

2020-04-03 18:44:35 +02:00
import matplotlib.pyplot as plt
2020-04-03 19:20:40 +02:00
matplotlib.use('Agg')
2020-04-03 18:44:35 +02:00
plt.plot([1, 2, 3, 4])
plt.ylabel('some numbers')
2020-04-03 18:52:06 +02:00
plt.savefig('test.png')