6 lines
128 B
Python
6 lines
128 B
Python
import matplotlib.pyplot as plt
|
|
matplotlib.use('Agg')
|
|
plt.plot([1, 2, 3, 4])
|
|
plt.ylabel('some numbers')
|
|
plt.savefig('test.png')
|