From 17f4b4154a8b76b3a23016a008097f9afac4f433 Mon Sep 17 00:00:00 2001 From: FedeMiorelli Date: Mon, 8 May 2017 16:29:22 +0200 Subject: [PATCH] Missing return in _num_to_string() Added a missing return statement that caused "None" strings to be displayed with LogFormatter. --- lib/matplotlib/ticker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/matplotlib/ticker.py b/lib/matplotlib/ticker.py index ae16a696b500..cccdae2dbb5d 100644 --- a/lib/matplotlib/ticker.py +++ b/lib/matplotlib/ticker.py @@ -975,7 +975,8 @@ def _num_to_string(self, x, vmin, vmax): s = '%1.0e' % x else: s = self.pprint_val(x, vmax - vmin) - + return s + def __call__(self, x, pos=None): """ Return the format for tick val `x`. 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