MAKE A MEME View Large Image Japan Electricity Production 2014.svg en A line graph showing Japan's energy production by type in 2014 Data taken from the https //www iea org/statistics/statisticssearch/report/ year 2014 country JAPAN product ElectricityandHeat ...
View Original:Japan Electricity Production 2014.svg (386x506)
Download: Original    Medium    Small Thumb
Courtesy of:commons.wikimedia.org More Like This
Keywords: Japan Electricity Production 2014.svg en A line graph showing Japan's energy production by type in 2014 Data taken from the https //www iea org/statistics/statisticssearch/report/ year 2014 country JAPAN product ElectricityandHeat International Energy Agency 2016-11-19 own Douglas Perkins other versions The SVG file was produced using MatPlotLib with the following also Public Domain code <pre> /usr/bin/env python from matplotlib import pyplot from matplotlib import ticker from matplotlib import numpy This generates a bar graph showing Japan's electricity production in 2014 Data from a Ministry of Economy Trade and Industry report https //tinyurl com/japan2014energy This file was written by Douglas Perkins It is released under a Creative Commons Zero 1 0 license https //creativecommons org/publicdomain/zero/1 0/ Renewable energy production in TWh biofuels 28 928 waste 6 595 geothermal 2 577 wind 5 038 renewable biofuels + waste + geothermal + wind Energy production in TWh data Gas 420 825 Coal 348 830 Oil 116 435 Hydro 86 942 Renewable\n non-solar renewable Solar 24 506 sources d0 for d in data amounts d1 for d in data A formatter to display comma-separated numbers on the y axis def comma_func x pos s ' 0 d ' format int x return s comma_format ticker FuncFormatter comma_func Make a bar graph x numpy arange len sources + 0 25 width 0 5 pyplot figure num 1 figsize 4 5 5 pyplot title Japan Electricity Production 2014 pyplot bar x amounts width color 'r' pyplot xlabel 'Source' pyplot ylabel 'Electricity TWh ' yticks pyplot xticks x + width/2 0 sources pyplot xticks rotation 'vertical' pyplot subplot 111 yaxis set_major_formatter comma_format pyplot subplot 111 grid b True axis 'y' pyplot savefig 'Chapter 7 Japan Electricity Production 2014 svg' format 'svg' bbox_inches 'tight' </pre> cc-zero Energy in Japan
Terms of Use   Search of the Day