Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98935
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2015-11-17 08:31 -0800 |
| Message-ID | <38fcc7ab-409d-4050-9058-634d987bcdd8@googlegroups.com> (permalink) |
| Subject | Help on savefig parameters |
| From | fl <rxjwg98@gmail.com> |
Hi,
I find the parameters of savefig function has the similar format of that of
main(*argc, **argv) in C. I have tried with savefig("temp.pdf", format='pdf'),
and it works. I get the help content of savefig() as below.
But I cannot understand why they also give:
savefig(fname, dpi=None, facecolor='w', edgecolor='w', ...
For me, it looks like the first item, i.e. 'args' is missing.
Could you explain it to me?
Thanks,
////////////////
savefig(*args, **kwargs)
Save the current figure.
Call signature::
savefig(fname, dpi=None, facecolor='w', edgecolor='w',
orientation='portrait', papertype=None, format=None,
transparent=False, bbox_inches=None, pad_inches=0.1,
frameon=None)
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Help on savefig parameters fl <rxjwg98@gmail.com> - 2015-11-17 08:31 -0800 Re: Help on savefig parameters Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-11-17 16:39 +0000
csiph-web