don't open output file automatically

This commit is contained in:
Alexander Bruy 2017-02-15 20:05:17 +02:00
parent 58b9c82e20
commit 1d68c164e2
6 changed files with 6 additions and 6 deletions

View File

@ -73,4 +73,4 @@ class BarPlot(GeoAlgorithm):
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)

View File

@ -82,4 +82,4 @@ class MeanAndStdDevPlot(GeoAlgorithm):
boxmean='sd',
name=k
))
plt.offline.plot(data, filename=output)
plt.offline.plot(data, filename=output, auto_open=False)

View File

@ -68,4 +68,4 @@ class PolarPlot(GeoAlgorithm):
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)

View File

@ -71,4 +71,4 @@ class RasterLayerHistogram(GeoAlgorithm):
data = [go.Histogram(x=valueslist,
nbinsx=nbins)]
plt.offline.plot(data, filename=output)
plt.offline.plot(data, filename=output, auto_open=False)

View File

@ -69,4 +69,4 @@ class VectorLayerHistogram(GeoAlgorithm):
data = [go.Histogram(x=values[fieldname],
nbinsx=bins)]
plt.offline.plot(data, filename=output)
plt.offline.plot(data, filename=output, auto_open=False)

View File

@ -73,4 +73,4 @@ class VectorLayerScatterplot(GeoAlgorithm):
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)