Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4da2db8

Browse filesBrowse files
author
Umair Idris
committed
Use py2.6 supported str format
1 parent 4fe562c commit 4da2db8
Copy full SHA for 4da2db8

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/backend_bases.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backend_bases.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2263,8 +2263,8 @@ def get_default_filename(self):
22632263
# ensure non-existing filename in save dir
22642264
i = 1
22652265
while os.path.isfile(os.path.join(save_dir, default_filename)):
2266-
# attach numerical value to basename
2267-
default_filename = '{}-{}.{}'.format(default_basename, i, default_filetype)
2266+
# attach numerical count to basename
2267+
default_filename = '{0}-{1}.{2}'.format(default_basename, i, default_filetype)
22682268
i += 1
22692269

22702270
return default_filename

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.