<div dir="ltr"><p style="margin:0px;text-indent:0px">Hi,</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">I am using the python API to generate pdf reports. I need to change some labels in a raster legend.</p>
<p style="margin:0px;text-indent:0px">I attempted to use the 
QgsLegendModelV2, and QgsSymbolV2LegendNode classes (setData or 
setUserLabel), but the "default implementation does nothing and returns 
false" according to the documentation.</p>
<p style="margin:0px;text-indent:0px">What is the more appropriate way to access and update the legend nodes?</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">Thanks</p></div>