Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit293c529

Browse files
committed
FIX: bar mixed units, allow ValueError as well
FIX: make exception in bar for convert(x+dx) more liberal
1 parent7b40990 commit293c529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2057,7 +2057,7 @@ def _convert_dx(dx, x0, xconv, convert):
20572057
dx= [convert(x0+ddx)-xforddxindx]
20582058
ifdelist:
20592059
dx=dx[0]
2060-
except(TypeError,AttributeError)ase:
2060+
exceptException:
20612061
# but doesn't work for 'string' + float, so just
20622062
# see if the converter works on the float.
20632063
dx=convert(dx)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp