Skip to content
Features
Business
Explore
Marketplace
Pricing
This repository
Sign in
or
Sign up
Watch
440
Star
5,572
Fork
2,667
matplotlib
/
matplotlib
Code
Issues
993
Pull requests
229
Projects
5
Wiki
Insights
Pulse
Graphs
str.formatter invalid
#5701
Merged
tacaswell
merged 1 commit into
matplotlib
:
master
from
jayvdb
:
str.formatter
Dec 20, 2015
Conversation
2
Commits
1
Files changed
1
Changes from
all commits
Commits
Show all changes
1 commit
Select commit
ce55dfe
str.formatter invalid
jayvdb
Dec 20, 2015
1 file
Jump to file
No files or symbols found.
+1
−1
dates.py
lib/matplotlib/dates.py
+1
−1
Unified
Split
Show comments
View
2
lib/matplotlib/dates.py
@@ -707,7 +707,7 @@ def __call__(self, x, pos=None):
elif
six.callable(fmt):
result
=
fmt(x, pos)
else
:
-
raise
TypeError
(
'
Unexpected type passed to
{
!r
}
.
'
.
formatter
(
self
))
+
raise
TypeError
(
'
Unexpected type passed to
{
0
!r
}
.
'
.
format
(
self
))
return
result
Toggle all file notes
You can't perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.