Skip to content

Commit bd68b48

Browse files
author
meihuisu
committed
fix a typo
1 parent 6e1e778 commit bd68b48

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pycvm/horizontal_slice.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,10 @@ def __init__(self, upperleftpoint, bottomrightpoint, meta={}) :
7676
raise ValueError("The upper-left point must be higher than, and to the " + \
7777
"left of, the bottom-right point.")
7878

79+
## The spacing for the plot, defined in degrees. If meters specified, it's converted to degrees.
7980
if 'spacing' in self.meta:
8081
self.spacing = self.meta['spacing']
81-
# Check the spacing. If it's specified in meters, convert to degrees.
8282
try:
83-
## The spacing for the plot, defined in degrees. If meters specified, it's converted to degrees.
8483
self.spacing = float(self.spacing)
8584
except Exception:
8685
print("TODO")
@@ -310,7 +309,7 @@ def _plot_file(self, horizontal_label = None):
310309

311310
if self.scalemin != None and self.scalemax != None:
312311
BOUNDS= ucvm.makebounds(float(self.scalemin), float(self.scalemax), 5)
313-
TICKS = ucvm.aketicks(float(self.scalemin), float(self.scalemax), 5)
312+
TICKS = ucvm.maketicks(float(self.scalemin), float(self.scalemax), 5)
314313
umax=round(self.scalemax)
315314
umin=round(self.scalemin)
316315
umean=round((umax+umin)/2)

0 commit comments

Comments
 (0)