From ce55dfeaa15f7049d2b9be379519373a195ad1be Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Sun, 20 Dec 2015 11:18:21 +1100 Subject: [PATCH] str.formatter invalid A TypeError in AutoDateFormatter introduced in be0aafbc uses invalid str.formatter instead of str.format. --- lib/matplotlib/dates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/dates.py b/lib/matplotlib/dates.py index 2c1f73547ba2..04c5da0f0996 100755 --- a/lib/matplotlib/dates.py +++ b/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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy