This Python label properties expression ought to add a new line but it fails to do so. Any clues are appreciated.
[Contour] + ' ft NAVD88' + '\n' + str(float([Contour]) + 0.79) + ' ft MLLW'
from
Specify text for labels—ArcGIS Pro | Documentation
A label expression can be either a simple single-line expression or a more complex expression spanning multiple lines of code and using the parser's programming logic. Arcade enables complex expressions by default. When using Python, VBScript, or JScript, check the Advanced check box and wrap the code in a function to enable multiline expressions.
So you need to write a "def"
Another bug?! This software is maddning. I am on v3.4. How about you KenBuja?
This was on 3.5.2
Taking a quick look through ArcGIS Pro 3.4 Issues Addressed and ArcGIS Pro 3.5 Issues Addressed, nothing in Pro 3.4 patches or Pro 3.5 seems to involve a labeling defect that would cause this difference between versions.
You didn't have "Remove extra line breaks" checked maybe? I tend to use '\r\n'
I did try '\r\n' to no avail before posting. Remove extra line breaks is unchecked.