pyKriging icon indicating copy to clipboard operation
pyKriging copied to clipboard

How to save the result as picture

Open BereniceAli opened this issue 5 years ago • 4 comments

BereniceAli avatar Jun 14 '20 03:06 BereniceAli

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 avatar Jun 14 '20 03:06 BereniceAli

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).

BereniceAli avatar Jun 14 '20 03:06 BereniceAli

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

capaulson avatar Jul 01 '20 19:07 capaulson

Same question here. My matplotlib version is 3.2.2

lllukehuang avatar Nov 02 '21 02:11 lllukehuang