File:Electricity supplied from nuclear reactors since 1990.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 600 × 400 pixels, file size: 36 KB)

Captions

Captions

Production of nuclear power plants since 1990

Summary

[edit]
Description
English: Net electricity production of nuclear power plants worldwide since 1990. This graph should be updated with the source code below when new data becomes available.
Date
Source Own work, data from https://www.eia.gov/international/data/world/electricity/electricity-generation
Author Geek3
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

#! /usr/bin/env python3
# -*- coding:utf8 -*-

import matplotlib.pyplot as plt
import matplotlib.ticker as ticker

# data source: https://www.eia.gov/international/data/world/electricity/electricity-generation
years_electricity = [
[1990, 1909], [1991, 1996], [1992, 2016], [1993, 2082], [1994, 2125],
[1995, 2210], [1996, 2292], [1997, 2271], [1998, 2316], [1999, 2393],
[2000, 2443.85], [2001, 2511.09], [2002, 2553.18], [2003, 2504.78], [2004, 2616.24],
[2005, 2626.34], [2006, 2660.85], [2007, 2608.18], [2008, 2597.81], [2009, 2558.06],
[2010, 2629.82], [2011, 2517.98], [2012, 2346.19], [2013, 2358.86], [2014, 2410.37],
[2015, 2441.34], [2016, 2477.30], [2017, 2502.82], [2018, 2562.76], [2019, 2586.16] ]
# please update in future.
years, electricity = map(list, zip(*years_electricity))

plt.rc('font', size=14)
fig = plt.figure(figsize=(600 / 90.0, 400 / 90.0), dpi=72)
plt.bar(years, electricity, edgecolor='black', width=0.6)
plt.gca().xaxis.set_major_locator(ticker.MultipleLocator(10))
plt.ylim(0)
plt.xlabel('year')
plt.ylabel('energy in TWh')
plt.title('Electricity supplied from nuclear reactors\nconnected to the grid %s\u2013%s' % (min(years), max(years)))
plt.grid(True)
plt.tight_layout()
plt.savefig('Electricity supplied from nuclear reactors since 1990.svg')


This file may be updated to reflect new information.
If you wish to use a specific version of the file without it being overwritten, please upload the required version as a separate file.

Licensing

[edit]
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.
Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.

File history

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

Date/TimeThumbnailDimensionsUserComment
current19:03, 21 January 2021Thumbnail for version as of 19:03, 21 January 2021600 × 400 (36 KB)Geek3 (talk | contribs)Uploaded own work with UploadWizard

File usage on other wikis

The following other wikis use this file:

Metadata