Greenhouse_gas_target_Turkey.svg


Summary

Description
English: Latest greenhouse gas emissions by Turkey and target
Date
Source Own work
Author Chidgk1
SVG development
InfoField
The SVG code is valid .
This plot was created with Matplotlib .
Source code
InfoField

Python code

Source code
lang = "en"
#lang = "tr"

years = ['2020', '2030', '2053']
counts = [524, 700, 0]

import matplotlib.pyplot as plt

fig, ax = plt.subplots()

if lang == "en":
 ax.set_title ("Latest greenhouse gases emitted in Turkey and targets", fontsize = 'large')
 ax.set_ylabel("Million metric tons of carbon dioxide equivalent")
 ax.set_xlabel('Source: https://www.bbc.com/turkce/articles/ceq20288wglo', fontsize = 'small', color = 'grey')
elif lang == "tr":
 ax.set_title ("Türkiye’de en son sera gazı emisyonu ve amaçları", fontsize = 'large')
 ax.set_ylabel("Milyon ton karbon dioksit eşdeğer")
 ax.set_xlabel('Kaynak: https://www.bbc.com/turkce/articles/ceq20288wglo', fontsize = 'small', color = 'grey')
else:
 print("Unknown language " + lang)
 sys.exit()

ax.bar(years, counts)

# Save graphic
if lang == "en":
 plt.savefig("Greenhouse gas target Turkey.svg")
elif lang == "tr":
 plt.savefig("sera_gazlar_Türkiye_amacları.svg")
else:
 print("Unknown language " + lang)
 sys.exit()  

# Show graphic
plt.show()

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Latest greenhouse gas emissions by Turkey and target

25 January 2023

image/svg+xml