fix plot labels/legend names
@@ -1571,7 +1571,7 @@ class SEDMLCodeFactory(object):
# figure title
title = output.getId()
if output.isSetName():
- title += " ({})".format(output.getName())
+ title = "{}".format(output.getName())
# xtitle
oneXLabel = True
@@ -1581,7 +1581,7 @@ class SEDMLCodeFactory(object):
dgx = doc.getDataGenerator(xId)
xLabel = xId
if dgx.isSetName():
- xLabel += " ({})".format(dgx.getName())
+ xLabel = "{}".format(dgx.getName())
# do all curves have the same xLabel
if kc == 0:
@@ -1616,9 +1616,9 @@ class SEDMLCodeFactory(object):
yLabel = yId
if curve.isSetName():
- yLabel += " ({})".format(curve.getName())
+ yLabel = "{}".format(curve.getName())
elif dgy.isSetName():
- yLabel += " ({})".format(dgy.getName())
+ yLabel = "{}".format(dgy.getName())
lines.append("for k in range({}.shape[1]):".format(xId))
lines.append(" extra_args = {}")
