SyntaxFix
Write A Post
Hire A Developer
Questions
import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt
It works for me.