Skip to content

Commit

Permalink
Fix issue matplotlib#1844 in custom_scale_example.py
Browse files Browse the repository at this point in the history
  • Loading branch information
torfbolt authored and HubertHolin committed Apr 7, 2013
1 parent 59b89f7 commit 9f7aa0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/api/custom_scale_example.py
Expand Up @@ -110,7 +110,7 @@ def __init__(self, thresh):
mtransforms.Transform.__init__(self)
self.thresh = thresh

def transform(self, a):
def transform_non_affine(self, a):
"""
This transform takes an Nx1 ``numpy`` array and returns a
transformed copy. Since the range of the Mercator scale
Expand Down Expand Up @@ -144,7 +144,7 @@ def __init__(self, thresh):
mtransforms.Transform.__init__(self)
self.thresh = thresh

def transform(self, a):
def transform_non_affine(self, a):
return np.arctan(np.sinh(a))

def inverted(self):
Expand Down

0 comments on commit 9f7aa0b

Please sign in to comment.