I'm trying to update the units used in labelling in QGIS 3.0.
The following answer shows how to do that but requires the user to overwrite all the changes:
Labelling line layer using QgsPalLayerSettings() QGIS failed
I want to edit only the label units and nothing else about the label style.
For example, I can edit the line size unit in the following way:
iface.activeLayer().renderer().symbol().setOutputUnit(2)
Is it possible to edit only the label size units (i.e MM/Pixel etc...) via Python?