Commit 78ae95c0 authored by Francesco Tripaldi's avatar Francesco Tripaldi
Browse files

fix matplotlib headless

parent 14677c11
......@@ -21,9 +21,11 @@ import sys, os
import time
import numpy as np
import io
import matplotlib.pyplot as plt
import requests
import matplotlib
import requests
matplotlib.use('Agg')
import matplotlib.pyplot as plt
def fig2elog(fig, text):
buf = io.BytesIO()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment