added matplotlib.use('Agg') to clide.py