Rendering moved to Thuban/UI/scalebar.py (deriveInterval): Calculate scalebar interval and unit which fits in width for scale. (roundInterval): Round float.