[yt-users] phase plot png
Nathan Goldbaum
nathan12343 at gmail.com
Thu Feb 6 09:24:00 PST 2014
Hi Yi,
When you save the plot to disk, you can supply a keyword argument to
matplotlib that forces it to auto-adjust the axes to fit the figure:
plot = PhasePlot(...)
plot.save(mpl_kwargs={'bbox_inches':'tight'})
Hope that helps,
Nathan
On Thu, Feb 6, 2014 at 12:56 AM, Yi Feng <yfen12 at ucsc.edu> wrote:
> Hi,
> I save the phase plot as png file, but the plot in the png file is small and
> there is large blank region.
> How to remove the blank region when I save?
> Or how to save it as pdf file so that I can use pdfcrop?
> Thanks!
>
> --
> Sincerely
> Yi Feng
> Department of Astronomy&Astrophysics,UC Santa Cruz
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
More information about the yt-users
mailing list