The plot below, for fixed offshore structures, shows from which of the latest DEPs the demand for mandatory requirements comes from — in the form of mandatory process safety statements.
It is obvious that some DEPs are yet to go on a diet, like others have. Here’s the plot code (+ csv source):
#!/usr/bin/env python # encoding: utf-8 """ dem1cso.py Created by ckunte on 01/20/2018. """ import numpy as np import matplotlib.pyplot as plt data = np.genfromtxt(r'dem1cso.csv',delimiter=',', names=True,dtype=None) labels = data['DEP'] sizes = data['SHALL_PS'] plt.style.use('seaborn-pastel') plt.pie(sizes,labels=labels,autopct='%1.0f%%', pctdistance=0.54,shadow=False,startangle=315) centre_circle = plt.Circle((0,0),0.66,fc='white') fig = plt.gcf() fig.gca().add_artist(centre_circle) plt.axis('equal') plt.savefig('dem1cso_offshore.png')