Skip to content
Permalink
Browse files

Merge pull request #1998 from radosuav/missing_html_tags

[processing] fix displaying result graphs
  • Loading branch information
alexbruy committed Apr 22, 2015
2 parents 9c5cbd4 + c246fec commit 12d92e4fb4dc772ae568b0f3b1f47c4b41b6aa2f
@@ -74,5 +74,5 @@ def processAlgorithm(self, progress):
plotFilename = output + '.png'
lab.savefig(plotFilename)
f = open(output, 'w')
f.write('<img src="' + plotFilename + '"/>')
f.write('<html><img src="' + plotFilename + '"/></html>')
f.close()
@@ -84,5 +84,5 @@ def processAlgorithm(self, progress):
plotFilename = output + '.png'
lab.savefig(plotFilename)
f = open(output, 'w')
f.write('<img src="' + plotFilename + '"/>')
f.write('<html><img src="' + plotFilename + '"/></html>')
f.close()
@@ -78,5 +78,5 @@ def processAlgorithm(self, progress):
plotFilename = output + '.png'
lab.savefig(plotFilename)
f = open(output, 'w')
f.write('<img src="' + plotFilename + '"/>')
f.write('<html><img src="' + plotFilename + '"/></html>')
f.close()
@@ -87,5 +87,5 @@ def processAlgorithm(self, progress):
plotFilename = outputplot + '.png'
lab.savefig(plotFilename)
f = open(outputplot, 'w')
f.write('<img src="' + plotFilename + '"/>')
f.write('<html><img src="' + plotFilename + '"/></html>')
f.close()
@@ -72,5 +72,5 @@ def processAlgorithm(self, progress):
plotFilename = output + '.png'
lab.savefig(plotFilename)
f = open(output, 'w')
f.write('<img src="' + plotFilename + '"/>')
f.write('<html><img src="' + plotFilename + '"/></html>')
f.close()
@@ -75,5 +75,5 @@ def processAlgorithm(self, progress):
plotFilename = output + '.png'
lab.savefig(plotFilename)
f = open(output, 'w')
f.write('<img src="' + plotFilename + '"/>')
f.write('<html><img src="' + plotFilename + '"/></html>')
f.close()

0 comments on commit 12d92e4

Please sign in to comment.
You can’t perform that action at this time.