Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa95f93

Browse files
committed
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.
1 parent 67da9ed commit aa95f93

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2014-05-14 Allow the linscale keyword parameter of symlog scale to be
2+
smaller one.
3+
14
2014-05-02 Added colorblind-friendly colormap, named 'Wistia'.
25

36
2014-04-27 Improved input clean up in Axes.{h|v}lines

lib/matplotlib/scale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ def __init__(self, axis, **kwargs):
449449

450450
assert base > 1.0
451451
assert linthresh > 0.0
452-
assert linscale >= 1.0
452+
assert linscale > 0.0
453453

454454
self._transform = self.SymmetricalLogTransform(base,
455455
linthresh,

0 commit comments

Comments
 (0)