RuntimeError: Invalid DISPLAY variable

You must declare matplotlib.use('agg') before import pylab as plt.

Reference

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)