matplotlib -> Could not load source '<__array_function__Internals>': Source unavailable

Asked

Viewed 107 times

0

I am having this problem when using plt.show() or plt.savefig('/path'):

Erro 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:

erro2 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!

1 answer

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.