import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
print(matplotlib.get_backend())
plt.plot(range(10))
plt.savefig('test.png')
Created
May 23, 2018 04:01
-
-
Save rlan/11e688e4a66bc31967ca51aa2fcc5c88 to your computer and use it in GitHub Desktop.
Matplotlib on non-GUI docker image
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment