Hello, I am using Qgis 2.0. I am writing a Python script to generate pdf files from layers. I added a QgsComposerScaleBar and I wish to round the segments to the nearest km. How can I achieve this ? Thank you in advance. Benoît