import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
plt.rcdefaults()
# import numpy as np
# Example data
x_data = [1,2,3,4]
y_data = [1,2,1,1]
plt.axis([0,4,0,4])
plt.plot(x_data, y_data)
plt.title('Hola qp2')
plt.savefig('display2.svg')
# plt.show()