I am using Python for QGIS 2.0.1 and I have a vector layer of points representing the positions of state labels. I want to display the 'state abbreviation' attribute on the corresponding point for each feature.
Does anyone have an example using QgsPalLabeling to do this?
This is a fairly simple process using the new Labeling tab of the GUI, but I have not found any documentation to make this work programmatically using PyQGIS.