Skip to content
Permalink
Browse files

[processing] display X and Y labels on the scatterplot (fix #12095)

  • Loading branch information
alexbruy committed Apr 10, 2015
1 parent b9f391f commit 864443df7682e681bd2f99fb0fea30631752effe
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/plugins/processing/algs/qgis/VectorLayerScatterplot.py
@@ -70,6 +70,8 @@ def processAlgorithm(self, progress):
values = vector.values(layer, xfieldname, yfieldname)
plt.close()
plt.scatter(values[xfieldname], values[yfieldname])
plt.ylabel(yfieldname)
plt.xlabel(xfieldname)
plotFilename = output + '.png'
lab.savefig(plotFilename)
f = open(output, 'w')

0 comments on commit 864443d

Please sign in to comment.
You can’t perform that action at this time.