From a454f5da716db08db8eb74578861605fefe6cafa Mon Sep 17 00:00:00 2001 From: Longye Tian <133612246+longye-tian@users.noreply.github.com> Date: Fri, 26 Apr 2024 11:27:15 +1000 Subject: [PATCH] Delete %matplotlib inline in ALL lectures (#429) Delete %matplotlib inline in all the lectures. These are the lectures being altered: - [geom_series] - [schelling] - [scaler_dynam] - [ar1_processes] - [time_series_with_matrices] - [lp_intro] --- lectures/ar1_processes.md | 1 - lectures/geom_series.md | 1 - lectures/lp_intro.md | 1 - lectures/scalar_dynam.md | 1 - lectures/schelling.md | 1 - lectures/time_series_with_matrices.md | 1 - 6 files changed, 6 deletions(-) diff --git a/lectures/ar1_processes.md b/lectures/ar1_processes.md index c4884a7a..004d6a94 100644 --- a/lectures/ar1_processes.md +++ b/lectures/ar1_processes.md @@ -50,7 +50,6 @@ Let's start with some imports: ```{code-cell} ipython import numpy as np -%matplotlib inline import matplotlib.pyplot as plt plt.rcParams["figure.figsize"] = (11, 5) #set default figure size ``` diff --git a/lectures/geom_series.md b/lectures/geom_series.md index 7a7d4c9d..d8cb8be9 100644 --- a/lectures/geom_series.md +++ b/lectures/geom_series.md @@ -53,7 +53,6 @@ These and other applications prove the truth of the wise crack that Below we'll use the following imports: ```{code-cell} ipython -%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/lp_intro.md b/lectures/lp_intro.md index 26896607..d6b7d1e6 100644 --- a/lectures/lp_intro.md +++ b/lectures/lp_intro.md @@ -56,7 +56,6 @@ from ortools.linear_solver import pywraplp from scipy.optimize import linprog import matplotlib.pyplot as plt from matplotlib.patches import Polygon -%matplotlib inline ``` Let's start with some examples of linear programming problem. diff --git a/lectures/scalar_dynam.md b/lectures/scalar_dynam.md index 864cb54d..486ea954 100644 --- a/lectures/scalar_dynam.md +++ b/lectures/scalar_dynam.md @@ -40,7 +40,6 @@ and understand key concepts. Let's start with some standard imports: ```{code-cell} ipython -%matplotlib inline import matplotlib.pyplot as plt import numpy as np ``` diff --git a/lectures/schelling.md b/lectures/schelling.md index 1bdc9004..02ca1400 100644 --- a/lectures/schelling.md +++ b/lectures/schelling.md @@ -72,7 +72,6 @@ awarded the 2005 Nobel Prize in Economic Sciences (joint with Robert Aumann). Let's start with some imports: ```{code-cell} ipython3 -%matplotlib inline import matplotlib.pyplot as plt from random import uniform, seed from math import sqrt diff --git a/lectures/time_series_with_matrices.md b/lectures/time_series_with_matrices.md index d0134b4d..c809de9c 100644 --- a/lectures/time_series_with_matrices.md +++ b/lectures/time_series_with_matrices.md @@ -46,7 +46,6 @@ We will use the following imports: ```{code-cell} ipython import numpy as np -%matplotlib inline import matplotlib.pyplot as plt from matplotlib import cm plt.rcParams["figure.figsize"] = (11, 5) #set default figure size