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

Skip to content

Commit 1bf862a

Browse files
committed
Fixed inverse of natural log bug. (Thanks, Ryan May)
svn path=/trunk/matplotlib/; revision=5698
1 parent a8592fc commit 1bf862a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/scale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def transform(self, a):
134134
return ma.power(np.e, a) / np.e
135135

136136
def inverted(self):
137-
return LogScale.Log2Transform()
137+
return LogScale.NaturalLogTransform()
138138

139139
class LogTransform(Transform):
140140
input_dims = 1

0 commit comments

Comments
 (0)