Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
auto-update-conda: true
auto-activate-base: true
miniconda-version: 'latest'
python-version: "3.12"
python-version: "3.13"
environment-file: environment.yml
activate-environment: quantecon
- name: Build HTML
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
auto-update-conda: true
auto-activate-base: true
miniconda-version: 'latest'
python-version: "3.12"
python-version: "3.13"
environment-file: environment.yml
activate-environment: quantecon
- name: Install latex dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/execution-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.12"]
python-version: ["3.13"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/execution-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
os: ["macos-latest"]
python-version: ["3.12"]
python-version: ["3.13"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/execution-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
os: ["windows-latest"]
python-version: ["3.12"]
python-version: ["3.13"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
auto-update-conda: true
auto-activate-base: true
miniconda-version: 'latest'
python-version: "3.12"
python-version: "3.13"
environment-file: environment.yml
activate-environment: quantecon
- name: Install latex dependencies
Expand Down
11 changes: 5 additions & 6 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@ name: quantecon
channels:
- default
dependencies:
- python=3.12
- anaconda=2024.10
- python=3.13
- anaconda=2025.06
- pip
- pip:
- jupyter-book==1.0.3
- quantecon-book-theme==0.8.2
- jupyter-book==1.0.4post1
- quantecon-book-theme==0.8.3
- sphinx-tojupyter==0.3.0
- sphinxext-rediraffe==0.2.7
- sphinx-exercise==1.0.1
- ghp-import==2.1.0
- sphinxcontrib-youtube==1.3.0 #Version 1.3.0 is required as quantecon-book-theme is only compatible with sphinx<=5
- sphinxcontrib-youtube==1.4.1
- sphinx-togglebutton==0.3.2


3 changes: 2 additions & 1 deletion lectures/matplotlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,9 @@ Place all the curves in the same figure.

The output should look like this

```{figure} /_static/lecture_specific/matplotlib/matplotlib_ex1.png
```{image} /_static/lecture_specific/matplotlib/matplotlib_ex1.png
:scale: 130
:align: center
```

```{exercise-end}
Expand Down
3 changes: 2 additions & 1 deletion lectures/numba.md
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,8 @@ Suppose that the volatility of returns on an asset can be in one of two regimes

The transition probabilities across states are as follows

```{figure} /_static/lecture_specific/sci_libs/nfs_ex1.png
```{image} /_static/lecture_specific/sci_libs/nfs_ex1.png
:align: center
```

For example, let the period length be one day, and suppose the current state is high.
Expand Down
6 changes: 4 additions & 2 deletions lectures/pandas.md
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,9 @@ ticker = read_data(ticker_list)

Complete the program to plot the result as a bar graph like this one:

```{figure} /_static/lecture_specific/pandas/pandas_share_prices.png
```{image} /_static/lecture_specific/pandas/pandas_share_prices.png
:scale: 80
:align: center
```

```{exercise-end}
Expand Down Expand Up @@ -748,8 +749,9 @@ indices_list = {'^GSPC': 'S&P 500',

Complete the program to show summary statistics and plot the result as a time series graph like this one:

```{figure} /_static/lecture_specific/pandas/pandas_indices_pctchange.png
```{image} /_static/lecture_specific/pandas/pandas_indices_pctchange.png
:scale: 80
:align: center
```

```{exercise-end}
Expand Down
Loading