I’m trying to remove the “Bande 1” label that appears in the raster legend in QGIS 3.40 (Bratislava).
This issue was already mentioned here: How to turn off QGIS legend band number by default?
The suggested solution works manually, but I’m looking for a way to automate it, since I have many rasters and I’m preparing an atlas that I’ll need to reuse for future projects.
Has anyone found a way to disable this label automatically either through a PyQGIS script or a style (.qml) setting? I couldn’t find any option for it in the raster layer properties.
Thanks a lot for your help!

