]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/blobdiff - wradmin/lib/wrgpx.py
Changed encoding to UTF-8.
[philipp/winterrodeln/wradmin.git] / wradmin / lib / wrgpx.py
index 9ba5c813beb6bb6f311b3438a16242a3d213c190..742a3737db89f52b76efb40f0e2cbbb2005d0293 100644 (file)
@@ -1,5 +1,4 @@
 #!/usr/bin/python2.6
-# -*- coding: iso-8859-15 -*-
 """Library to handle WRGPX files.
 A WRGPX file (WR stands for Winterrodeln) is a normal GPX file
 that follows several conventions so that it can be rendered to
@@ -208,8 +207,8 @@ def height_profile(wrgpx):
     plt.axis([axxmin, axxmax, axymin, axymax])
     plt.grid()
     plt.xlabel('Strecke in m [%d m Gesamtstrecke]' % round(x[-1], -1))
-    plt.ylabel('Höhe in m [%d m Differenz]' % round(h[0]-h[-1]))
-    plt.title('%s - Höhenprofil' % wrgpx.metadata.name)
+    plt.ylabel('Höhe in m [%d m Differenz]' % round(h[0]-h[-1]))
+    plt.title('%s - Höhenprofil' % wrgpx.metadata.name)
 
     width_px = 500
     imgdata = io.StringIO()