From 630f0c3befe14d483fc74a86803a203c5750da98 Mon Sep 17 00:00:00 2001 From: Andrew Dawson Date: Thu, 7 Jun 2012 12:06:39 +0100 Subject: [PATCH] BF - Fix maximum colorbar extension. --- lib/matplotlib/colorbar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/colorbar.py b/lib/matplotlib/colorbar.py index d418a216b016..6708e961bd50 100644 --- a/lib/matplotlib/colorbar.py +++ b/lib/matplotlib/colorbar.py @@ -598,7 +598,7 @@ def _central_N(self): nb = len(self._boundaries) if self.extend == 'both': nb -= 2 - elif self._extend_lower(): + elif self.extend in ('min', 'max'): nb -= 1 return nb 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