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

Commitce55dfe

Browse files
committed
str.formatter invalid
A TypeError in AutoDateFormatter introduced inbe0aafbuses invalid str.formatter instead of str.format.
1 parent6b30aaa commitce55dfe

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