Skip to content

Commit

Permalink
don't open output file automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Feb 15, 2017
1 parent 58b9c82 commit 1d68c16
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 @@ -73,4 +73,4 @@ def processAlgorithm(self, feedback):
ind = np.arange(len(values[namefieldname]))
data = [go.Bar(x=ind,
y=values[valuefieldname])]
plt.offline.plot(data, filename=output)
plt.offline.plot(data, filename=output, auto_open=False)
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/MeanAndStdDevPlot.py
Expand Up @@ -82,4 +82,4 @@ def processAlgorithm(self, feedback):
boxmean='sd',
name=k
))
plt.offline.plot(data, filename=output)
plt.offline.plot(data, filename=output, auto_open=False)
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/PolarPlot.py
Expand Up @@ -68,4 +68,4 @@ def processAlgorithm(self, feedback):

data = [go.Area(r=values[valuefieldname],
t=np.degrees(np.arange(0.0, 2 * np.pi, 2 * np.pi / len(values[valuefieldname]))))]
plt.offline.plot(data, filename=output)
plt.offline.plot(data, filename=output, auto_open=False)
Expand Up @@ -71,4 +71,4 @@ def processAlgorithm(self, feedback):

data = [go.Histogram(x=valueslist,
nbinsx=nbins)]
plt.offline.plot(data, filename=output)
plt.offline.plot(data, filename=output, auto_open=False)
Expand Up @@ -69,4 +69,4 @@ def processAlgorithm(self, feedback):

data = [go.Histogram(x=values[fieldname],
nbinsx=bins)]
plt.offline.plot(data, filename=output)
plt.offline.plot(data, filename=output, auto_open=False)
Expand Up @@ -73,4 +73,4 @@ def processAlgorithm(self, feedback):
data = [go.Scatter(x=values[xfieldname],
y=values[yfieldname],
mode='markers')]
plt.offline.plot(data, filename=output)
plt.offline.plot(data, filename=output, auto_open=False)

0 comments on commit 1d68c16

Please sign in to comment.