Skip to content

Commit

Permalink
Merge pull request #1998 from radosuav/missing_html_tags
Browse files Browse the repository at this point in the history
[processing] fix displaying result graphs
  • Loading branch information
alexbruy committed Apr 22, 2015
2 parents 9c5cbd4 + c246fec commit 12d92e4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/BarPlot.py
Expand Up @@ -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()
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/MeanAndStdDevPlot.py
Expand Up @@ -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()
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/PolarPlot.py
Expand Up @@ -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()
Expand Up @@ -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()
Expand Up @@ -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()
Expand Up @@ -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.