diff --git a/lectures/aiyagari.md b/lectures/aiyagari.md index e0e6a8dbd..c713f946f 100644 --- a/lectures/aiyagari.md +++ b/lectures/aiyagari.md @@ -57,7 +57,6 @@ Let's start with some imports: ```{code-cell} ipython3 import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np from quantecon.markov import DiscreteDP from numba import jit diff --git a/lectures/cake_eating_problem.md b/lectures/cake_eating_problem.md index 92021e21b..e31414f9a 100644 --- a/lectures/cake_eating_problem.md +++ b/lectures/cake_eating_problem.md @@ -41,7 +41,6 @@ In what follows, we require the following imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np ``` diff --git a/lectures/career.md b/lectures/career.md index c2f8ef252..7fa95b51b 100644 --- a/lectures/career.md +++ b/lectures/career.md @@ -48,7 +48,6 @@ We begin with some imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np import quantecon as qe from numba import jit, prange diff --git a/lectures/cass_koopmans_2.md b/lectures/cass_koopmans_2.md index b8ce49d48..f416adfd9 100644 --- a/lectures/cass_koopmans_2.md +++ b/lectures/cass_koopmans_2.md @@ -67,7 +67,6 @@ Let's start with some standard imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size from numba import jit, float64 from numba.experimental import jitclass import numpy as np diff --git a/lectures/exchangeable.md b/lectures/exchangeable.md index 4a1762f4a..4e4d0911e 100644 --- a/lectures/exchangeable.md +++ b/lectures/exchangeable.md @@ -71,7 +71,6 @@ Let’s start with some imports: tags: [hide-output] --- import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size from numba import jit, vectorize from math import gamma import scipy.optimize as op diff --git a/lectures/finite_markov.md b/lectures/finite_markov.md index 0ed914162..7ce2ffa4b 100644 --- a/lectures/finite_markov.md +++ b/lectures/finite_markov.md @@ -53,7 +53,6 @@ Let's start with some standard imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import quantecon as qe import numpy as np from mpl_toolkits.mplot3d import Axes3D diff --git a/lectures/inventory_dynamics.md b/lectures/inventory_dynamics.md index 7a80b9929..a0af1dcba 100644 --- a/lectures/inventory_dynamics.md +++ b/lectures/inventory_dynamics.md @@ -48,7 +48,6 @@ Let's start with some imports ```{code-cell} ipython3 import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np from numba import jit, float64, prange from numba.experimental import jitclass diff --git a/lectures/lake_model.md b/lectures/lake_model.md index 315a2e47e..c88b9b212 100644 --- a/lectures/lake_model.md +++ b/lectures/lake_model.md @@ -69,7 +69,6 @@ Let's start with some imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np from quantecon import MarkovChain from scipy.stats import norm diff --git a/lectures/likelihood_bayes.md b/lectures/likelihood_bayes.md index 0d2a4fe1b..c9b203f11 100644 --- a/lectures/likelihood_bayes.md +++ b/lectures/likelihood_bayes.md @@ -52,7 +52,6 @@ We'll begin by loading some Python modules. :hide-output: false import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np from numba import vectorize, jit, prange from math import gamma diff --git a/lectures/linear_algebra.md b/lectures/linear_algebra.md index 680dbf010..9e89b2a33 100644 --- a/lectures/linear_algebra.md +++ b/lectures/linear_algebra.md @@ -74,7 +74,6 @@ Let's start with some imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np from matplotlib import cm from mpl_toolkits.mplot3d import Axes3D diff --git a/lectures/lln_clt.md b/lectures/lln_clt.md index 0dc910dfd..7aa6954ae 100644 --- a/lectures/lln_clt.md +++ b/lectures/lln_clt.md @@ -52,7 +52,6 @@ We'll need the following imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import random import numpy as np from scipy.stats import t, beta, lognorm, expon, gamma, uniform diff --git a/lectures/lq_inventories.md b/lectures/lq_inventories.md index e1ed768e2..e9b23aef9 100644 --- a/lectures/lq_inventories.md +++ b/lectures/lq_inventories.md @@ -204,7 +204,6 @@ its consequences. ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np import quantecon as qe ``` diff --git a/lectures/lqcontrol.md b/lectures/lqcontrol.md index 03c0c9a48..f04dff5c4 100644 --- a/lectures/lqcontrol.md +++ b/lectures/lqcontrol.md @@ -71,7 +71,6 @@ Let's start with some imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np from quantecon import LQ ``` diff --git a/lectures/markov_asset.md b/lectures/markov_asset.md index 842cc4bae..1739dde0f 100644 --- a/lectures/markov_asset.md +++ b/lectures/markov_asset.md @@ -73,7 +73,6 @@ Let's start with some imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np import quantecon as qe from numpy.linalg import eigvals, solve diff --git a/lectures/mccall_model.md b/lectures/mccall_model.md index 3298eec65..202b9d591 100644 --- a/lectures/mccall_model.md +++ b/lectures/mccall_model.md @@ -61,7 +61,6 @@ Let's start with some imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np from numba import jit, float64 from numba.experimental import jitclass diff --git a/lectures/mix_model.md b/lectures/mix_model.md index 31ca4d875..cac49c608 100644 --- a/lectures/mix_model.md +++ b/lectures/mix_model.md @@ -124,7 +124,6 @@ As usual, we'll start by importing some Python tools. :hide-output: false import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np from numba import vectorize, jit from math import gamma diff --git a/lectures/mle.md b/lectures/mle.md index e71e1da44..6c431ce1c 100644 --- a/lectures/mle.md +++ b/lectures/mle.md @@ -44,7 +44,6 @@ We'll require the following imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np from numpy import exp from scipy.special import factorial, gammaln diff --git a/lectures/multi_hyper.md b/lectures/multi_hyper.md index a44ee4d32..c6919a189 100644 --- a/lectures/multi_hyper.md +++ b/lectures/multi_hyper.md @@ -112,7 +112,6 @@ Let's start with some imports. ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np from scipy.special import comb from scipy.stats import normaltest diff --git a/lectures/multivariate_normal.md b/lectures/multivariate_normal.md index 6e7af55ee..7aacee6eb 100644 --- a/lectures/multivariate_normal.md +++ b/lectures/multivariate_normal.md @@ -62,7 +62,6 @@ We use the following imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np from numba import jit import statsmodels.api as sm diff --git a/lectures/newton_method.md b/lectures/newton_method.md index 4f2788cf1..5c020719a 100644 --- a/lectures/newton_method.md +++ b/lectures/newton_method.md @@ -90,8 +90,6 @@ from scipy.optimize import root from autograd import jacobian # Thinly-wrapped numpy to enable automatic differentiation import autograd.numpy as np - -plt.rcParams["figure.figsize"] = (10, 5.7) ``` ## Fixed Point Computation Using Newton's Method diff --git a/lectures/ols.md b/lectures/ols.md index 51497a664..5a3e70652 100644 --- a/lectures/ols.md +++ b/lectures/ols.md @@ -59,7 +59,6 @@ Let's start with some imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np import pandas as pd import statsmodels.api as sm diff --git a/lectures/optgrowth.md b/lectures/optgrowth.md index 36871dca1..0d14a7e5b 100644 --- a/lectures/optgrowth.md +++ b/lectures/optgrowth.md @@ -61,7 +61,6 @@ Let's start with some imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np from scipy.interpolate import interp1d from scipy.optimize import minimize_scalar diff --git a/lectures/perm_income.md b/lectures/perm_income.md index 5806cacdf..c88bb28ca 100644 --- a/lectures/perm_income.md +++ b/lectures/perm_income.md @@ -48,7 +48,6 @@ Let's start with some imports ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np import random from numba import jit diff --git a/lectures/rational_expectations.md b/lectures/rational_expectations.md index 17b1e7758..dbc6e628a 100644 --- a/lectures/rational_expectations.md +++ b/lectures/rational_expectations.md @@ -68,7 +68,6 @@ Let's start with some standard imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np ``` diff --git a/lectures/samuelson.md b/lectures/samuelson.md index 9517b4113..fccdb6e31 100644 --- a/lectures/samuelson.md +++ b/lectures/samuelson.md @@ -48,7 +48,6 @@ Let's start with some standard imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np ``` diff --git a/lectures/sir_model.md b/lectures/sir_model.md index 537352e35..24682939e 100644 --- a/lectures/sir_model.md +++ b/lectures/sir_model.md @@ -52,7 +52,6 @@ We will use the following standard imports: ```{code-cell} ipython3 import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np from numpy import exp ``` diff --git a/lectures/uncertainty_traps.md b/lectures/uncertainty_traps.md index b93d7582e..2cef53ace 100644 --- a/lectures/uncertainty_traps.md +++ b/lectures/uncertainty_traps.md @@ -52,7 +52,6 @@ Let's start with some standard imports: ```{code-cell} ipython import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np ``` diff --git a/lectures/wealth_dynamics.md b/lectures/wealth_dynamics.md index bdd5d7d8f..165d156e2 100644 --- a/lectures/wealth_dynamics.md +++ b/lectures/wealth_dynamics.md @@ -77,7 +77,6 @@ We will use the following imports. ```{code-cell} ipython3 import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np import quantecon as qe from numba import jit, float64, prange