Cooking Stoves and Cooking Fuels
HIT_PATH = '../../../../src/'
institution_id = 7
lang = 'en'
import os,sys, folium
sys.path.insert(0, os.path.normpath(os.path.join(os.path.abspath(''), HIT_PATH)))
import hedera_types as hedera
import odk_interface as odk
mfi = hedera.mfi(institution_id,setPathBook=True)
data = mfi.read_survey(mfi.odk_data_name)
mfi.HH = odk.households(data)
attribute = 'C_Index'
import matplotlib.pyplot as plt
plt.rcParams.update({'font.size': 18})
plt.rcParams["font.family"] = "Tw Cen MT"
mfi.cooking_fuels_summary_barh(lang='en',legend=True)
import matplotlib.pyplot as plt
plt.rcParams.update({'font.size': 18})
plt.rcParams["font.family"] = "Tw Cen MT"
#mfi.cooking_fuels_summary_barh(lang='en',legend=True,secondary=True,primary=False)
import matplotlib.pyplot as plt
plt.rcParams.update({'font.size': 18})
plt.rcParams["font.family"] = "Tw Cen MT"
#mfi.number_of_stoves_per_office(legend=True)
import matplotlib.pyplot as plt
plt.rcParams.update({'font.size': 18})
plt.rcParams["font.family"] = "Tw Cen MT"
mfi.tier_pie(attribute)