Commit eabb1176 authored by Dorian's avatar Dorian

Espace (Typographie)

parent f6449cdd
......@@ -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
****************************************************************************************************************** '''
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment