Skip to content

Commit 6158254

Browse files
committed
review kesten_processes and looking OK
1 parent ffbe583 commit 6158254

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

lectures/kesten_processes.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ jupytext:
33
text_representation:
44
extension: .md
55
format_name: myst
6+
format_version: 0.13
7+
jupytext_version: 1.16.7
68
kernelspec:
7-
display_name: Python 3
9+
display_name: Python 3 (ipykernel)
810
language: python
911
name: python3
1012
---
@@ -28,10 +30,9 @@ kernelspec:
2830

2931
In addition to what's in Anaconda, this lecture will need the following libraries:
3032

31-
```{code-cell} ipython
32-
---
33-
tags: [hide-output]
34-
---
33+
```{code-cell} ipython3
34+
:tags: [hide-output]
35+
3536
!pip install quantecon
3637
!pip install --upgrade yfinance
3738
```
@@ -53,17 +54,16 @@ We will discuss these issues as we go along.
5354

5455
Let's start with some imports:
5556

56-
```{code-cell} ipython
57+
```{code-cell} ipython3
5758
import matplotlib.pyplot as plt
58-
plt.rcParams["figure.figsize"] = (11, 5) #set default figure size
5959
import numpy as np
6060
import quantecon as qe
6161
```
6262

6363
The following two lines are only added to avoid a `FutureWarning` caused by
6464
compatibility issues between pandas and matplotlib.
6565

66-
```{code-cell} ipython
66+
```{code-cell} ipython3
6767
from pandas.plotting import register_matplotlib_converters
6868
register_matplotlib_converters()
6969
```
@@ -105,7 +105,8 @@ For example, consider the following plot of daily returns on the Nasdaq
105105
Composite Index for the period 1st January 2006 to 1st November 2019.
106106

107107
(ndcode)=
108-
```{code-cell} python3
108+
109+
```{code-cell} ipython3
109110
import yfinance as yf
110111
111112
s = yf.download('^IXIC', '2006-1-1', '2019-11-1', auto_adjust=False)['Adj Close']

0 commit comments

Comments
 (0)