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

Commitbce5f91

Browse files
committed
Merge pull request#5701 from jayvdb/str.formatter
FIX: str.formatter invalid
2 parentsa10964a +ce55dfe commitbce5f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ def __call__(self, x, pos=None):
707707
elifsix.callable(fmt):
708708
result=fmt(x,pos)
709709
else:
710-
raiseTypeError('Unexpected type passed to {!r}.'.formatter(self))
710+
raiseTypeError('Unexpected type passed to {0!r}.'.format(self))
711711

712712
returnresult
713713

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp