Skip to content

How can I fix the range in a coverage map? #306

Closed Answered by jhoydis
yviiiii asked this question in Q&A
Discussion options

You must be logged in to vote

The function cm.show() returns a matplotlib figure that you can save using the savefig method (doc):

fig  = cm.show()
fig.savefig('my_figure.png')

If you want to change the appearance of the coverage map, the best would be to have a look at the source code of the cm.show() method and modify it according to your liking. The code is very easy to understand.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yviiiii
Comment options

Answer selected by yviiiii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants