[IPython-dev] Changing Inline Figure Resolution

Burkhard Ritter burkhard at ualberta.ca
Fri Jun 13 18:07:32 EDT 2014


Hi,

I use the following. Obviously, this changes the dpi for all inline
figures thereafter.

```
c = %config InlineBackend.rc
c['savefig.dpi'] = 100
%config InlineBackend.figure_format='png'
%config InlineBackend.rc = c
%matplotlib inline
```

Cheers,
Burkhard


On Fri, Jun 13, 2014 at 8:28 AM, Rinaldo Betkiewicz
<rinaldo at bccn-berlin.de> wrote:
> dear all,
>
> pre 2.0 the resolution of inline plots in the notebook could be changed with
>
> figure(dpi='150')
>
> In contrast to setting figsize this would also rescale the font sizes,
> etc. Unfortunately in Ipython 2 passing dpi to figure() does not seem
> to have any effect anymore. Is there a way to get same (or similar)
> behavior in the current version?
>
> Best Regards,
>
> Rinaldo
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



More information about the IPython-dev mailing list