Skip to content

Commit

Permalink
Corrected pep8 errors in Gnomonic and Copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
cvelascof authored Feb 7, 2017
1 parent c94ef49 commit c894955
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/cartopy/crs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (C) British Crown Copyright 2011 - 2016, Met Office
# (C) British Crown Copyright 2011 - 2017, Met Office
#
# This file is part of cartopy.
#
Expand Down Expand Up @@ -1271,8 +1271,10 @@ def threshold(self):


class Gnomonic(Projection):
def __init__(self, central_latitude=0.0, central_longitude=0.0, globe=None):
proj4_params = [('proj', 'gnom'), ('lat_0', central_latitude), ('lon_0', central_longitude)]
def __init__(self, central_latitude=0.0,
central_longitude=0.0, globe=None):
proj4_params = [('proj', 'gnom'), ('lat_0', central_latitude),
('lon_0', central_longitude)]
super(Gnomonic, self).__init__(proj4_params, globe=globe)
self._max = 5e7

Expand Down

0 comments on commit c894955

Please sign in to comment.