From 01f0d3d680a0d7613dbf57b325810f287f33e0fa Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 26 Apr 2024 15:57:44 +1000 Subject: [PATCH] MAINT: remove %matplotlib inline --- lectures/cattle_cycles.md | 1 - lectures/cons_news.md | 1 - lectures/growth_in_dles.md | 1 - lectures/hs_invertibility_example.md | 1 - lectures/irfs_in_hall_model.md | 1 - lectures/kalman_2.md | 1 - lectures/lqramsey.md | 1 - lectures/lucas_asset_pricing_dles.md | 1 - lectures/markov_jump_lq.md | 1 - lectures/muth_kalman.md | 1 - lectures/permanent_income_dles.md | 1 - lectures/rosen_schooling_model.md | 1 - lectures/smoothing.md | 1 - lectures/smoothing_tax.md | 1 - lectures/tax_smoothing_1.md | 1 - lectures/tax_smoothing_2.md | 1 - lectures/tax_smoothing_3.md | 1 - 17 files changed, 17 deletions(-) diff --git a/lectures/cattle_cycles.md b/lectures/cattle_cycles.md index 656d2a2..b1ec64a 100644 --- a/lectures/cattle_cycles.md +++ b/lectures/cattle_cycles.md @@ -53,7 +53,6 @@ import matplotlib.pyplot as plt from collections import namedtuple from quantecon import DLE from math import sqrt -%matplotlib inline ``` ## The Model diff --git a/lectures/cons_news.md b/lectures/cons_news.md index 8528f69..a1f1d0b 100644 --- a/lectures/cons_news.md +++ b/lectures/cons_news.md @@ -607,7 +607,6 @@ As usual, we start by importing packages. import numpy as np import quantecon as qe import matplotlib.pyplot as plt -%matplotlib inline ``` ```{code-cell} python3 diff --git a/lectures/growth_in_dles.md b/lectures/growth_in_dles.md index 29fa5f8..69b7851 100644 --- a/lectures/growth_in_dles.md +++ b/lectures/growth_in_dles.md @@ -52,7 +52,6 @@ We require the following imports ```{code-cell} ipython import numpy as np import matplotlib.pyplot as plt -%matplotlib inline from quantecon import DLE ``` diff --git a/lectures/hs_invertibility_example.md b/lectures/hs_invertibility_example.md index 74d1644..ed09421 100644 --- a/lectures/hs_invertibility_example.md +++ b/lectures/hs_invertibility_example.md @@ -49,7 +49,6 @@ import quantecon as qe import matplotlib.pyplot as plt from quantecon import DLE from math import sqrt -%matplotlib inline ``` This lecture describes an early contribution to what is now often called diff --git a/lectures/irfs_in_hall_model.md b/lectures/irfs_in_hall_model.md index f96ed3b..809abcb 100644 --- a/lectures/irfs_in_hall_model.md +++ b/lectures/irfs_in_hall_model.md @@ -44,7 +44,6 @@ We'll make these imports: ```{code-cell} ipython import numpy as np import matplotlib.pyplot as plt -%matplotlib inline from quantecon import DLE ``` diff --git a/lectures/kalman_2.md b/lectures/kalman_2.md index 7381eac..c2d8fcf 100644 --- a/lectures/kalman_2.md +++ b/lectures/kalman_2.md @@ -51,7 +51,6 @@ In addition to what's in Anaconda, this lecture will need the following librarie To conduct simulations, we bring in these imports, as in {doc}`A First Look at the Kalman filter `. ```{code-cell} ipython3 -%matplotlib inline import matplotlib.pyplot as plt plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np diff --git a/lectures/lqramsey.md b/lectures/lqramsey.md index 7f39831..4f853e6 100644 --- a/lectures/lqramsey.md +++ b/lectures/lqramsey.md @@ -81,7 +81,6 @@ We'll need the following imports: import sys import numpy as np import matplotlib.pyplot as plt -%matplotlib inline from numpy import sqrt, eye, zeros, cumsum from numpy.random import randn import scipy.linalg diff --git a/lectures/lucas_asset_pricing_dles.md b/lectures/lucas_asset_pricing_dles.md index 19bffcb..f56433e 100644 --- a/lectures/lucas_asset_pricing_dles.md +++ b/lectures/lucas_asset_pricing_dles.md @@ -56,7 +56,6 @@ We'll also need the following imports import numpy as np import matplotlib.pyplot as plt from quantecon import DLE -%matplotlib inline ``` We use a linear-quadratic version of an economy that Lucas (1978) {cite}`Lucas1978` used diff --git a/lectures/markov_jump_lq.md b/lectures/markov_jump_lq.md index c78ffec..7d63d33 100644 --- a/lectures/markov_jump_lq.md +++ b/lectures/markov_jump_lq.md @@ -254,7 +254,6 @@ import quantecon as qe import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D -%matplotlib inline ``` ```{code-cell} python3 diff --git a/lectures/muth_kalman.md b/lectures/muth_kalman.md index 2e0ce77..72264d9 100644 --- a/lectures/muth_kalman.md +++ b/lectures/muth_kalman.md @@ -40,7 +40,6 @@ We'll also need the following imports: ```{code-cell} ipython import matplotlib.pyplot as plt -%matplotlib inline import numpy as np from quantecon import Kalman diff --git a/lectures/permanent_income_dles.md b/lectures/permanent_income_dles.md index 0c73e81..f0603f7 100644 --- a/lectures/permanent_income_dles.md +++ b/lectures/permanent_income_dles.md @@ -56,7 +56,6 @@ We'll also require the following imports ```{code-cell} ipython import numpy as np import matplotlib.pyplot as plt -%matplotlib inline from quantecon import DLE np.set_printoptions(suppress=True, precision=4) diff --git a/lectures/rosen_schooling_model.md b/lectures/rosen_schooling_model.md index 8610b75..deae72a 100644 --- a/lectures/rosen_schooling_model.md +++ b/lectures/rosen_schooling_model.md @@ -46,7 +46,6 @@ import numpy as np import matplotlib.pyplot as plt from collections import namedtuple from quantecon import DLE -%matplotlib inline ``` ## A One-Occupation Model diff --git a/lectures/smoothing.md b/lectures/smoothing.md index 5e2704d..dd4795a 100644 --- a/lectures/smoothing.md +++ b/lectures/smoothing.md @@ -83,7 +83,6 @@ Let's start with some imports: import numpy as np import quantecon as qe import matplotlib.pyplot as plt -%matplotlib inline import scipy.linalg as la ``` diff --git a/lectures/smoothing_tax.md b/lectures/smoothing_tax.md index ad90a49..5f5014a 100644 --- a/lectures/smoothing_tax.md +++ b/lectures/smoothing_tax.md @@ -97,7 +97,6 @@ Let's start with some standard imports: import numpy as np import quantecon as qe import matplotlib.pyplot as plt -%matplotlib inline ``` To exploit the isomorphism between consumption-smoothing and tax-smoothing models, we simply use code from {doc}`Consumption Smoothing with Complete and Incomplete Markets ` diff --git a/lectures/tax_smoothing_1.md b/lectures/tax_smoothing_1.md index e68c4f9..dd1b01b 100644 --- a/lectures/tax_smoothing_1.md +++ b/lectures/tax_smoothing_1.md @@ -44,7 +44,6 @@ Let's start with some standard imports: import quantecon as qe import numpy as np import matplotlib.pyplot as plt -%matplotlib inline ``` This lecture uses the method of **Markov jump linear quadratic dynamic programming** that is described in lecture diff --git a/lectures/tax_smoothing_2.md b/lectures/tax_smoothing_2.md index 803c3fb..f03ee0b 100644 --- a/lectures/tax_smoothing_2.md +++ b/lectures/tax_smoothing_2.md @@ -79,7 +79,6 @@ Let's start with some standard imports: import quantecon as qe import numpy as np import matplotlib.pyplot as plt -%matplotlib inline ``` ## Two example specifications diff --git a/lectures/tax_smoothing_3.md b/lectures/tax_smoothing_3.md index 02a7f3c..3d53194 100644 --- a/lectures/tax_smoothing_3.md +++ b/lectures/tax_smoothing_3.md @@ -62,7 +62,6 @@ Let's start with some standard imports: import quantecon as qe import numpy as np import matplotlib.pyplot as plt -%matplotlib inline ``` ## Roll-Over Risk