# high resolution image - matplotlib

Hi experts!

How can i generate matplotlib graphs in custom resolution (for example: 1020p)?

waiting for your answers.

Thanks a lot!

high resolution image - matplotlib

Hi experts!

How can i generate matplotlib graphs in custom resolution (for example: 1020p)?

waiting for your answers.

Thanks a lot!

add a comment

1

When you use `savefig`

, set the option `dpi`

to give the resolution in dots per inch.

See the documentation for savefig at:

1

1

No idea. But you can still use the figsize argument to obtain a better definition

```
sage: graphs.PetersenGraph().show(figsize=30)
```

0

Asked: **
2013-07-09 05:08:23 -0600
**

Seen: **4,261 times**

Last updated: **Jul 19 '13**

Problem with Sage's gcc and limits.h

Matplotlib curve is out of axes boundaries

"UserWarning: Matplotlib is building the font cache using fc-list." never resolves

How to put legend outside of the graph at its bottom?

Is there any way to integrate matplotlib plots in my latex document using sagetex?

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.