0
I am having this problem when using plt.show() or plt.savefig('/path'):
The same error occurs when I try to plot a simple graph:
import matplotlib.pyplot as plt
plt.stackplot(range(4), [2, 2, 2, 2], [1, 2, 3, 4], labels=['a', 'b'])
plt.show()
And in addition to opening a new tab on vscode, Plot.show() is showing Vauelerror error below:
The error is probably in the matplot backend, because the code is right. Does anyone know what I can do?
I put the java pq script box not used to formatting questions here. The code is from python itself!
– felipevzps