answered 4 years ago
I had the same problem, I solved it by instead of using .show(), doing a .plot().save('plot.png').
.show()
.plot().save('plot.png')