Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to save the result as picture #38

Open
BereniceAli opened this issue Jun 14, 2020 · 4 comments
Open

How to save the result as picture #38

BereniceAli opened this issue Jun 14, 2020 · 4 comments

Comments

@BereniceAli
Copy link

No description provided.

@BereniceAli
Copy link
Author

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 BereniceAli changed the title How to save the result as How to save the result as picture Jun 14, 2020
@BereniceAli
Copy link
Author

BereniceAli commented Jun 14, 2020

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
Copy link
Owner

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

@lllukehuang
Copy link

Same question here. My matplotlib version is 3.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants