File:Electricity supplied from nuclear reactors since 1990.svg

Summary

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
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.
Category:Files that need updating

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.
Category:CC-BY-SA-4.0#Electricity%20supplied%20from%20nuclear%20reactors%20since%201990.svgCategory:Self-published work
Category:Nuclear power statistics Category:Global electricity production trends Category:English-language SVG charts
Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline. Category:Files allowed to be overwritten by everyone
Category:CC-BY-SA-4.0 Category:English-language SVG charts Category:Files allowed to be overwritten by everyone Category:Files that need updating Category:Global electricity production trends Category:Nuclear power statistics Category:Self-published work Category:Valid SVG created with Matplotlib code