@@ -1974,11 +1974,8 @@ def print_figure(self, filename, dpi=None, facecolor=None, edgecolor=None,
1974
1974
1975
1975
Parameters
1976
1976
----------
1977
- filename
1978
- can also be a file object on image backends
1979
-
1980
- orientation : {'landscape', 'portrait'}, default: 'portrait'
1981
- only currently applies to PostScript printing.
1977
+ filename : str or path-like or file-like
1978
+ The file where the figure is saved.
1982
1979
1983
1980
dpi : float, default: :rc:`savefig.dpi`
1984
1981
The dots per inch to save the figure in.
@@ -1989,16 +1986,17 @@ def print_figure(self, filename, dpi=None, facecolor=None, edgecolor=None,
1989
1986
edgecolor : color, default: :rc:`savefig.edgecolor`
1990
1987
The edgecolor of the figure.
1991
1988
1989
+ orientation : {'landscape', 'portrait'}, default: 'portrait'
1990
+ Only currently applies to PostScript printing.
1991
+
1992
1992
format : str, optional
1993
1993
Force a specific file format. If not given, the format is inferred
1994
1994
from the *filename* extension, and if that fails from
1995
1995
:rc:`savefig.format`.
1996
1996
1997
- bbox_inches : 'tight' or `~matplotlib.transforms.Bbox`, \
1998
- default: :rc:`savefig.bbox`
1999
- Bbox in inches. Only the given portion of the figure is
2000
- saved. If 'tight', try to figure out the tight bbox of
2001
- the figure.
1997
+ bbox_inches : 'tight' or `.Bbox`, default: :rc:`savefig.bbox`
1998
+ Bounding box in inches: only the given portion of the figure is
1999
+ saved. If 'tight', try to figure out the tight bbox of the figure.
2002
2000
2003
2001
pad_inches : float, default: :rc:`savefig.pad_inches`
2004
2002
Amount of padding around the figure when *bbox_inches* is 'tight'.
0 commit comments