|
|
|
@ -25,12 +25,9 @@ try :
|
|
|
|
|
#df5 = pd.read_sql('''SELECT * FROM CO_DEUX WHERE code LIKE 'USA';''',con=co)
|
|
|
|
|
|
|
|
|
|
#Chart that picture the evolution of the emission in France
|
|
|
|
|
print("test")
|
|
|
|
|
print(df3)
|
|
|
|
|
fig = df3.plot(x='year', y='emission', legend=False, style='-')
|
|
|
|
|
print("test")
|
|
|
|
|
fig.set_title("Quantité d'émission (tonnes) en fonction des années")
|
|
|
|
|
print("test")
|
|
|
|
|
fig.set_xlabel("annee")
|
|
|
|
|
fig.set_ylabel("emissions (en tonnes)")
|
|
|
|
|
|
|
|
|
|