X Tutup
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/api/custom_scale_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class MercatorLatitudeTransform(mtransforms.Transform):
input_dims = 1
output_dims = 1
is_separable = True
has_inverse = True
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a PEP8 nitpick here: Insert a blank space before the method definition.


def __init__(self, thresh):
mtransforms.Transform.__init__(self)
Expand Down Expand Up @@ -138,6 +139,7 @@ class InvertedMercatorLatitudeTransform(mtransforms.Transform):
input_dims = 1
output_dims = 1
is_separable = True
has_inverse = True

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've fixed this and the file appears clear upon running pep8. Is there something else I'm missing?

def __init__(self, thresh):
mtransforms.Transform.__init__(self)
Expand Down
X Tutup