[Answer]-Matplotlib hangs in Django

1👍

The issue turned out to be an issue with using the wrong backend… The issue was resolved with jenshnielsen’s suggestion to change the backend that is being used before importing pyplot

import matplotlib
matplotlib.use('agg')

If your reading this, Jens, please post your own answer and I’ll gladly delete this one!

👤Sayse

Leave a comment