matplotlib imshow in loop exits with code -1073741819 (0xC0000005)


I am having troubles showing images using matplotlib.pyplot.imshow() in a loop. The program randomly stops running with the message:

Process finished with exit code -1073741819 (0xC0000005)

plt.pause() does not help.

  • I have noticed that the program also crashes when I try to drag the window, in which the image is open.
  • Running the code from console gives the same error.

I have already reinstalled python and PyCharm but had no luck fixing the issue. I use Python 3.7, PyCharm 2020.2.3(Community Edition), Windows 10.

Does anybody know how to deal with it?

asked on Stack Overflow Jan 12, 2021 by grtnb • edited Jan 12, 2021 by martineau

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0