0

I am a Python beginner. When I was trying to save figure in Jupyter notebook using the code plt.savefig("figure.png"), it generated an error message of

AttributeError: 'NoneType' object has no attribute '_send_event'

Does anyone know how to solve this problem?

.p

William Miller
  • 9,839
  • 3
  • 25
  • 46
  • please post code about how you get the figure – lincr Apr 01 '20 at 03:26
  • Does this answer your question? [Save plot to image file instead of displaying it using Matplotlib](https://stackoverflow.com/questions/9622163/save-plot-to-image-file-instead-of-displaying-it-using-matplotlib) – Trenton McKinney Apr 01 '20 at 06:12

0 Answers0