Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7f46613

Browse filesBrowse files
committed
Merge pull request #5533 from jeffrey-hokanson/master
Fixes #5522, bug in custom scale example
2 parents 9413188 + 2025974 commit 7f46613
Copy full SHA for 7f46613

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎examples/api/custom_scale_example.py

Copy file name to clipboardExpand all lines: examples/api/custom_scale_example.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ class MercatorLatitudeTransform(mtransforms.Transform):
103103
input_dims = 1
104104
output_dims = 1
105105
is_separable = True
106+
has_inverse = True
106107

107108
def __init__(self, thresh):
108109
mtransforms.Transform.__init__(self)
@@ -138,6 +139,7 @@ class InvertedMercatorLatitudeTransform(mtransforms.Transform):
138139
input_dims = 1
139140
output_dims = 1
140141
is_separable = True
142+
has_inverse = True
141143

142144
def __init__(self, thresh):
143145
mtransforms.Transform.__init__(self)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.