I have a legend with no title but there is still a large white space above the layer/subgroup title that I would like to remove. I tried using legend.setTitle("")
and legend.setStyleFont(QgsLegendStyle.Title, QFont('Arial', 0))
but neither worked. I suspect this is a spacing issue rather than a font issue, but I don't see anything under setStyle
that looks like it controls spacing.
Add a comment
|