Skip to content

Commit

Permalink
Merge pull request #842 from UV-CDAT/listelts_taylor_broken
Browse files Browse the repository at this point in the history
listelements was still using old way to account for taylordiagram
  • Loading branch information
doutriaux1 committed Oct 23, 2014
2 parents bb69c69 + 842857e commit 4029ad4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Packages/vcs/Lib/Canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -4423,13 +4423,8 @@ def listelements(self, *args):
a=vcs.init()
a.listelements()
"""
if args != () and args[0].lower() =='taylordiagram':
L = []
for t in vcs.taylordiagrams:
L.append(t.name)
else:
f = vcs.listelements
L = apply(f, args)
f = vcs.listelements
L = apply(f, args)

L.sort()

Expand Down

0 comments on commit 4029ad4

Please sign in to comment.