Skip to content

Commit 11b4751

Browse files
author
Rado Guzinski
committedMay 26, 2014
[processing] Fix problem with displaying R graphs
1 parent 80dc723 commit 11b4751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/r/RAlgorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def processAlgorithm(self, progress):
239239
if self.showPlots:
240240
htmlfilename = self.getOutputValue(RAlgorithm.RPLOTS)
241241
f = open(htmlfilename, 'w')
242-
f.write('<img src="' + self.plotsFilename + '"/>')
242+
f.write('<html><img src="' + self.plotsFilename + '"/></html>')
243243
f.close()
244244
if self.showConsoleOutput:
245245
htmlfilename = self.getOutputValue(RAlgorithm.R_CONSOLE_OUTPUT)

0 commit comments

Comments
 (0)
Please sign in to comment.