File:LiverpoolPopulationHistory.svg
Original file (SVG file, nominally 720 × 405 pixels, file size: 29 KB)
Captions
Summary edit
DescriptionLiverpoolPopulationHistory.svg |
English: The population of Liverpool from 1801 to 2011 using data from the England & Wales Census. |
Date | |
Source | Own work |
Author | Thebrid |
Licensing edit
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
Code & data used to generate file edit
#!/usr/bin/python
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.ticker as tkr
def formatNumbers(x, pos):
return "{number:1,.0f}".format(number=x)
data = [
(1801, 82430),
(1811, 101065),
(1821, 129007),
(1831, 180222),
(1841, 255492),
(1851, 320513),
(1861, 429881),
(1871, 539248),
(1881, 648616),
(1891, 659967),
(1901, 711030),
(1911, 766044),
(1921, 805066),
(1931, 846101),
(1941, 806271),
(1951, 768337),
(1961, 683133),
(1971, 607454),
(1981, 503726),
(1991, 480196),
(2001, 439476),
(2011, 466415),
]
years = []
values = []
for datum in data:
years.append(datum[0])
values.append(datum[1])
yearLabels = np.arange(len(years))
offset = 0.35
fig, ax = plt.subplots()
fig.set_size_inches(8, 4.5)
yearBars = ax.bar(yearLabels, values, color="r")
ax.set_xticks(yearLabels + offset)
ax.set_xticklabels(years, rotation=90)
plt.tick_params(axis="x", which="both", bottom="off", top="off")
ax.yaxis.set_major_formatter(tkr.FuncFormatter(formatNumbers))
plt.savefig("LiverpoolPopulationHistory.svg")
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 22:54, 28 March 2015 | 720 × 405 (29 KB) | Thebrid (talk | contribs) | Change aspect ratio to 16:9 | |
22:48, 28 March 2015 | 720 × 540 (29 KB) | Thebrid (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on vi.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 576pt |
---|---|
Height | 324pt |