File:Gender wage gap.svg

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

Original file(SVG file, nominally 1,080 × 720 pixels, file size: 109 KB)

Captions

Captions

Gender wage gap
This file may be updated to reflect new information.
If you wish to use a specific version of the file without new updates being mirrored, please upload the required version as a separate file.

Summary

[edit]
Description
English: Gender wage gap
Date
Source Own work
Author Yuasan , Data from OECD.
https://www.oecd-ilibrary.org/employment/oecd-employment-outlook_19991266
Permission
(Reusing this file)
CC-0


graph data

[edit]
import matplotlib.pyplot as plt
from cycler import cycler
import pandas as pd

df = pd.read_csv("data.tsv", index_col=0 , sep = "\t")
df = df.T
df = df.fillna(method = 'ffill') 

fig, ax = plt.subplots(figsize=(12, 8))
plt.rcParams['font.family'] = 'sans-serif'
plt.rcParams['font.sans-serif'] = ['Noto Sans Display']

plt.subplots_adjust(left=0.07, bottom=0.13, right=0.96, top=0.93)

cc = cycler('ls', ['-', '--']) * cycler('lw', range(1, 3))
ax.set_prop_cycle( plt.rcParams['axes.prop_cycle'] * cc)
ax.plot(df)
ax.legend(df.columns, fontsize=10, ncol=8, loc='center' ,bbox_to_anchor=(0, -0.23, 1, 0.24) )
ax.set_axisbelow(True)

plt.title("Gender wage gap (OECD stats), Employees", fontsize=20)
plt.tick_params(labelsize=9, pad=4)
plt.ylabel("Percentage", fontsize=13)
plt.xticks(rotation=35, fontsize=7)
plt.yticks(fontsize=11)
plt.grid(which='major',color='#cccccc',linestyle='-', axis="y")

plt.savefig("image.svg")

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero 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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current12:51, 15 April 2022Thumbnail for version as of 12:51, 15 April 20221,080 × 720 (109 KB)Yuasan (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

File usage on other wikis

Metadata