Added labels to all graphs

This commit is contained in:
Venrey 2024-07-13 06:01:44 +00:00
parent 812fd90e72
commit 7059a572b3

View file

@ -71,25 +71,25 @@ def gen_DI(wb):
# Generates graph for Roth IRA # Generates graph for Roth IRA
def gen_Roth_IRA(wb): def gen_Roth_IRA(wb):
fig = make_basic_greenred_NL("Roth IRA",wb["O Mountain"]["A2"].value,wb["O Mountain"]["C2"].value) fig = make_basic_greenred("Roth IRA",wb["O Mountain"]["A2"].value,wb["O Mountain"]["C2"].value)
fig.savefig('./.gen/Roth_IRA.png',dpi=300) fig.savefig('./.gen/Roth_IRA.png',dpi=300)
# Generates graph for Roth Catch Up # Generates graph for Roth Catch Up
def gen_Roth_Catch_Up(wb): def gen_Roth_Catch_Up(wb):
fig = make_basic_greenred_NL("Roth Catch Up",wb["O Mountain"]["A4"].value,wb["O Mountain"]["C4"].value) fig = make_basic_greenred("Roth Catch Up",wb["O Mountain"]["A4"].value,wb["O Mountain"]["C4"].value)
fig.savefig('./.gen/Roth_Catch_Up.png',dpi=300) fig.savefig('./.gen/Roth_Catch_Up.png',dpi=300)
# Generates graph for 401K contribution # Generates graph for 401K contribution
def gen_401K_Contribution(wb): def gen_401K_Contribution(wb):
fig = make_basic_greenred_NL("401K Contribution",wb["O Mountain"]["A6"].value,wb["O Mountain"]["C6"].value) fig = make_basic_greenred("401K Contribution",wb["O Mountain"]["A6"].value,wb["O Mountain"]["C6"].value)
fig.savefig('./.gen/401K_Contribution.png',dpi=300) fig.savefig('./.gen/401K_Contribution.png',dpi=300)
# Generates graph for 401K contribution Catch Up # Generates graph for 401K contribution Catch Up
def gen_401K_Catch_Up(wb): def gen_401K_Catch_Up(wb):
fig = make_basic_greenred_NL("401K Catch Up",wb["O Mountain"]["A8"].value,wb["O Mountain"]["C8"].value) fig = make_basic_greenred("401K Catch Up",wb["O Mountain"]["A8"].value,wb["O Mountain"]["C8"].value)
fig.savefig('./.gen/401K_Catch_Up.png',dpi=300) fig.savefig('./.gen/401K_Catch_Up.png',dpi=300)