Skip to content

Commit

Permalink
Merge pull request #1989 from UV-CDAT/dotted-line2
Browse files Browse the repository at this point in the history
Fix flake8 warnings and a test generated file
  • Loading branch information
danlipsa committed May 24, 2016
2 parents abebe40 + 7102a1d commit 9d06e08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Packages/vcs/vcs/VTKPlots.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,9 @@ def isopened(self):

def geometry(self, *args):
if len(args) == 0:
return self._geometry;
return self._geometry
if len(args) < 2:
raise TypeError("Function takes zero or two <width, height> " \
raise TypeError("Function takes zero or two <width, height> "
"or more than two arguments. Got " + len(*args))
x = args[0]
y = args[1]
Expand Down
2 changes: 1 addition & 1 deletion testing/vcs/test_vcs_isoline_width_stipple.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
isoline.line = ('dot', 'dash', 'solid', 'dash-dot', 'long-dash', 'dot', 'dash')
# Next plot the isolines with labels
canvas.plot(data, isoline, bg=1)
regression.run(canvas, "test_isoline_width_stipple.png")
regression.run(canvas, "test_vcs_isoline_width_stipple.png")

0 comments on commit 9d06e08

Please sign in to comment.