File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -581,10 +581,10 @@ def generateOutputs(sedmlDoc, dataGeneratorsList):
581
581
print "plt.xscale('log')"
582
582
if curve .getLogY () == True :
583
583
print "plt.yscale('log')"
584
- if output .getName () != None :
584
+ if output .getName () != '' :
585
585
print "plt.title('" + output .getName () + "')"
586
586
else :
587
- pass
587
+ print "plt.title('" + output . getId () + "')"
588
588
print "plt.show()\n "
589
589
elif typeCode == libsedml .SEDML_OUTPUT_PLOT3D :
590
590
print "from mpl_toolkits.mplot3d import Axes3D"
@@ -648,10 +648,10 @@ def generateOutputs(sedmlDoc, dataGeneratorsList):
648
648
#print "Z_" + str(i) + " = np.array(" + str(allZ).replace("'","") + ").T"
649
649
for x in range (len (allX )):
650
650
print "ax.plot(" + str (allX [x ]) + ", " + str (allY [x ]) + ", " + str (allZ [x ]) + ")"
651
- if output .getName () != None :
651
+ if output .getName () != '' :
652
652
print "plt.title('" + output .getName () + "')"
653
653
else :
654
- pass
654
+ print "plt.title('" + output . getId () + "')"
655
655
print "plt.show()\n "
656
656
else :
657
657
print "# Unsupported output type"
You can’t perform that action at this time.
0 commit comments