Python matplotlib Invalid DISPLAY variable

Monday, December 11, 2017 11:36 PM 0 Comments

Fixed by

matplotlib.pyplot as plt
plt.switch_backend('agg') 
Ref:
https://github.com/matplotlib/matplotlib/issues/3466/#issuecomment-195899517

0 comments: