From aa95f93b6207133e200a9b6a8f86c2d93a2e0a87 Mon Sep 17 00:00:00 2001 From: Till Stensitzki Date: Fri, 9 May 2014 13:37:57 +0200 Subject: [PATCH] symlog-scale: Remove asssert linscale >= 1. I can't see why the assert was needed and it does excatly what i would expect from it. --- CHANGELOG | 3 +++ lib/matplotlib/scale.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 9f1b2c86ca5b..3c9f890efd7e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2014-05-14 Allow the linscale keyword parameter of symlog scale to be + smaller one. + 2014-05-02 Added colorblind-friendly colormap, named 'Wistia'. 2014-04-27 Improved input clean up in Axes.{h|v}lines diff --git a/lib/matplotlib/scale.py b/lib/matplotlib/scale.py index 74a142cfc88e..8f771d90f368 100644 --- a/lib/matplotlib/scale.py +++ b/lib/matplotlib/scale.py @@ -449,7 +449,7 @@ def __init__(self, axis, **kwargs): assert base > 1.0 assert linthresh > 0.0 - assert linscale >= 1.0 + assert linscale > 0.0 self._transform = self.SymmetricalLogTransform(base, linthresh,