capaulson / pyKriging

Welcome to the User Friendly Python Kriging Toolbox!
http://www.pykriging.com
MIT License
382 stars 113 forks source link

How to save the result as picture #38

Open BereniceAli opened 4 years ago

BereniceAli commented 4 years ago

when I used function which named plot to visualize the result, what can I use to save the result as a picture, I have tried to use k.saveFigure(), but it didn't work.

BereniceAli commented 4 years ago

I use k.saveFigure('test.png'), then I got an error which was : k.saveFigure(name = 'test.png') RuntimeError: No mappable was found to use for colorbar creation. First define a mappable such as an image (with imshow) or a contour set (with contourf).

capaulson commented 4 years ago

Hmm. Sounds like a matplotlib issue. What version are you running?

lllukehuang commented 2 years ago

Same question here. My matplotlib version is 3.2.2