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 bf0fc71

Browse filesBrowse files
committed
Fixed bug in plotfile
svn path=/branches/v0_91_maint/; revision=5207
1 parent 6a9ac5d commit bf0fc71
Copy full SHA for bf0fc71

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+4
-2
lines changed

‎CHANGELOG

Copy file name to clipboardExpand all lines: CHANGELOG
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2008-05-21 Fix a "local variable unreferenced" bug in plotfile - MM
2+
13
2008-05-19 Fix crash when Windows can not access the registry to
24
determine font path [Bug 1966974, thanks Patrik Simons] - MGD
35

‎lib/matplotlib/pyplot.py

Copy file name to clipboardExpand all lines: lib/matplotlib/pyplot.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
def switch_backend(newbackend):
4040
"""
41-
Swtich the default backend to newbackend. This feature is
41+
Switch the default backend to newbackend. This feature is
4242
EXPERIMENTAL, and is only expected to work switching to an image
4343
backend. Eg, if you have a bunch of PS scripts that you want to
4444
run from an interactive ipython session, you may want to switch to
@@ -1225,7 +1225,7 @@ def getname_val(identifier):
12251225
xname, x = getname_val(cols[0])
12261226

12271227
if len(cols)==1:
1228-
ax1 = fig.add_subplot(N,1,i)
1228+
ax1 = fig.add_subplot(1,1,1)
12291229
funcname = plotfuncs.get(cols[0], 'plot')
12301230
func = getattr(ax1, funcname)
12311231
func(x, **kwargs)

0 commit comments

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