Skip to content

Commit 1d68c16

Browse files
committed
don't open output file automatically
1 parent 58b9c82 commit 1d68c16

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

python/plugins/processing/algs/qgis/BarPlot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ def processAlgorithm(self, feedback):
7373
ind = np.arange(len(values[namefieldname]))
7474
data = [go.Bar(x=ind,
7575
y=values[valuefieldname])]
76-
plt.offline.plot(data, filename=output)
76+
plt.offline.plot(data, filename=output, auto_open=False)

python/plugins/processing/algs/qgis/MeanAndStdDevPlot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ def processAlgorithm(self, feedback):
8282
boxmean='sd',
8383
name=k
8484
))
85-
plt.offline.plot(data, filename=output)
85+
plt.offline.plot(data, filename=output, auto_open=False)

python/plugins/processing/algs/qgis/PolarPlot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ def processAlgorithm(self, feedback):
6868

6969
data = [go.Area(r=values[valuefieldname],
7070
t=np.degrees(np.arange(0.0, 2 * np.pi, 2 * np.pi / len(values[valuefieldname]))))]
71-
plt.offline.plot(data, filename=output)
71+
plt.offline.plot(data, filename=output, auto_open=False)

python/plugins/processing/algs/qgis/RasterLayerHistogram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ def processAlgorithm(self, feedback):
7171

7272
data = [go.Histogram(x=valueslist,
7373
nbinsx=nbins)]
74-
plt.offline.plot(data, filename=output)
74+
plt.offline.plot(data, filename=output, auto_open=False)

python/plugins/processing/algs/qgis/VectorLayerHistogram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ def processAlgorithm(self, feedback):
6969

7070
data = [go.Histogram(x=values[fieldname],
7171
nbinsx=bins)]
72-
plt.offline.plot(data, filename=output)
72+
plt.offline.plot(data, filename=output, auto_open=False)

python/plugins/processing/algs/qgis/VectorLayerScatterplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ def processAlgorithm(self, feedback):
7373
data = [go.Scatter(x=values[xfieldname],
7474
y=values[yfieldname],
7575
mode='markers')]
76-
plt.offline.plot(data, filename=output)
76+
plt.offline.plot(data, filename=output, auto_open=False)

0 commit comments

Comments
 (0)