# ckunte.net

## DEM1

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%%',