File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1766,6 +1766,7 @@ def set_equation(equation, cmds):
17661766 format (matrix = matrix ,
17671767 using = using ,
17681768 optioncmds = optioncmds ))
1769+ plotCurveCmdsMinimal .append ( plotCurveCmds [- 1 ] ) # same testing command
17691770
17701771 testData_curve = ''
17711772 if curve .get ('matrix' ):
@@ -1780,9 +1781,8 @@ def set_equation(equation, cmds):
17801781 set_equation ('equation_above' , plotCurveCmdsNonDataAfter )
17811782
17821783 # the command to make the plot and to test the plot
1783- cmd = basecmd + ',' .join (plotCurveCmdsNonDataBefore + plotCurveCmds + plotCurveCmdsNonDataAfter )
1784- cmdMinimal = (basecmd + ',' .join (plotCurveCmdsNonDataBefore + plotCurveCmdsMinimal + plotCurveCmdsNonDataAfter )) \
1785- if plotCurveCmdsMinimal else cmd
1784+ cmd = basecmd + ',' .join (plotCurveCmdsNonDataBefore + plotCurveCmds + plotCurveCmdsNonDataAfter )
1785+ cmdMinimal = basecmd + ',' .join (plotCurveCmdsNonDataBefore + plotCurveCmdsMinimal + plotCurveCmdsNonDataAfter )
17861786
17871787 return (cmd , cmdMinimal , testData )
17881788
You can’t perform that action at this time.
0 commit comments