Commit 410f9daa authored by htyao's avatar htyao
Browse files

Fix type error in cmd

parent ecfa63c0
......@@ -453,9 +453,9 @@ class _ColorMap:
if self.caption != "":
cmd += ['-colorMapCaption', self.caption]
if self.vMin is not None:
cmd += ['-colorMapMin', self.vMin]
cmd += ['-colorMapMin', str(self.vMin)]
if self.vMax is not None:
cmd += ['-colorMapMax', self.vMax]
cmd += ['-colorMapMax', str(self.vMax)]
if not in ['energy', '']:
cmd += ['-colorMapStyle',]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment