From eabb11762122f93c25cab5113ef7859ae84f5252 Mon Sep 17 00:00:00 2001 From: Dorian Date: Sun, 23 Jun 2019 21:44:41 +0200 Subject: [PATCH] Espace (Typographie) --- Functions - Q2.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Functions - Q2.py b/Functions - Q2.py index 5a192fc..d311bad 100644 --- a/Functions - Q2.py +++ b/Functions - Q2.py @@ -122,7 +122,7 @@ def getPointsAndColor(indicator, hour, day, month, year, numberOfPoint, colorRan session = cluster.connect('dbermond_projet') query = """ - SELECT + SELECT """ + indicator.lower() + """, latitude, longitude FROM weatherQ2 WHERE DhmYear = %s AND DhmMonth = %s AND DhmDay = %s AND DhmHour = %s @@ -249,7 +249,7 @@ def getMapQ2(indicator, hour, day, month, year) : plt.imshow(Background, extent = [5.3,15.0,47.0,55.0], zorder = 0) inputTime = datetime.datetime(year = year, month = month, day = day, hour = hour).strftime("%d-%m-%Y-%Hh") unit = getIndicatorUnit(indicator) - plt.title(indicator + "(en " + unit + ") pour le " + inputTime) + plt.title(indicator + " (en " + unit + ") pour le " + inputTime) plt.xlabel("Longitude") plt.ylabel("Latitude") #ax = plt.subplot(2, 1, 2, autoscale_on = True) @@ -342,5 +342,3 @@ def getCumulativeDistributionFunctionQ2(indicator, hour, day, month, year, numbe ****************************************************************************************************************** ''' - - -- GitLab