Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6d6da54

Browse files
committed
update CHANGELOG and get_default_filetype docstring
1 parent 42002e2 commit 6d6da54

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
2012-06-02 Add new Axes method and pyplot function, hist2d. - PO
22

3+
2012-05-31 Remove support for 'cairo.<format>' style of backend specification.
4+
- Martin Spacek
5+
36
2012-05-29 pcolormesh now obeys the passed in "edgecolor" kwarg.
47
To support this, the "shading" argument to pcolormesh now only
58
takes "flat" or "gouraud". To achieve the old "faceted" behavior,

lib/matplotlib/backend_bases.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2080,9 +2080,10 @@ def print_figure(self, filename, dpi=None, facecolor='w', edgecolor='w',
20802080

20812081
def get_default_filetype(self):
20822082
"""
2083-
Get the default savefig file format as specified in rcParams.
2084-
If invalid, use .png. Overridden in backends that only support
2085-
a single file type.
2083+
Get the default savefig file format as specified in
2084+
rcParams['savefig.format']. If not supported, return 'png'.
2085+
Returned string excludes period. Overridden in backends that
2086+
only support a single file type.
20862087
"""
20872088
default = rcParams['savefig.format']
20882089
if default in self.get_supported_filetypes():

0 commit comments

Comments
 (0)