Jump to content

File:Greenhouse gas target Turkey.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 576 × 432 pixels, file size: 40 KB)

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
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
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

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current08:42, 25 January 2023Thumbnail for version as of 08:42, 25 January 2023576 × 432 (40 KB)Chidgk1added 2053
08:32, 25 January 2023Thumbnail for version as of 08:32, 25 January 2023576 × 432 (40 KB)Chidgk1Uploaded own work with UploadWizard

The following page uses this file:

Metadata