From 8d3da2b58c0cc6ce79e587ecb36354be094386d3 Mon Sep 17 00:00:00 2001 From: jdebacker Date: Tue, 30 Jul 2024 11:18:30 -0400 Subject: [PATCH] script to create images for book --- docs/create_doc_figures.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docs/create_doc_figures.py b/docs/create_doc_figures.py index 0a78d7b..5719090 100644 --- a/docs/create_doc_figures.py +++ b/docs/create_doc_figures.py @@ -4,12 +4,8 @@ # import import os -import pandas as pd import numpy as np import matplotlib.pyplot as plt -import matplotlib as mpl -import json -import ogzaf import ogcore from ogcore.parameters import Specifications from ogcore import parameter_plots as pp @@ -60,9 +56,6 @@ ) plt.savefig(os.path.join(plot_path, "fert_rates.png"), dpi=300) # Mortality rates -import matplotlib.pyplot as plt -import ogcore.demographics as demog - mort_rates, _, fig = demog.get_mort( totpers=100, min_age=0,