diff --git a/lectures/_config.yml b/lectures/_config.yml index 478480c6..f40b4b13 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -36,6 +36,9 @@ latex: sphinx: extra_extensions: [sphinx_multitoc_numbering, sphinxext.rediraffe, sphinxcontrib.youtube, sphinx.ext.todo, sphinx_exercise, sphinx_togglebutton, sphinx_tojupyter] config: + # myst-nb config + nb_render_image_options: + width: 80% nb_mime_priority_overrides: [ ['html', 'application/vnd.jupyter.widget-view+json', 10], ['html', 'application/javascript', 20], diff --git a/lectures/inventory_dynamics.md b/lectures/inventory_dynamics.md index 213b2e21..d91db045 100644 --- a/lectures/inventory_dynamics.md +++ b/lectures/inventory_dynamics.md @@ -47,9 +47,7 @@ This lecture explores JAX implementations of the exercises in the lecture on [in We will use the following imports: ```{code-cell} ipython3 -%matplotlib inline import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import numpy as np import jax import jax.numpy as jnp diff --git a/lectures/kesten_processes.md b/lectures/kesten_processes.md index f95b1912..67943735 100644 --- a/lectures/kesten_processes.md +++ b/lectures/kesten_processes.md @@ -64,9 +64,7 @@ This lecture focuses on implementing the same computations in JAX. Let's start with some imports: ```{code-cell} ipython3 -%matplotlib inline import matplotlib.pyplot as plt -plt.rcParams["figure.figsize"] = (11, 5) #set default figure size import quantecon as qe import jax import jax.numpy as jnp diff --git a/lectures/troubleshooting.md b/lectures/troubleshooting.md index e68f030f..e73d0455 100644 --- a/lectures/troubleshooting.md +++ b/lectures/troubleshooting.md @@ -54,7 +54,6 @@ If your local environment is still not working you can do two things. First, you can use a remote machine instead, by clicking on the Launch Notebook icon available for each lecture ```{image} _static/lecture_specific/troubleshooting/launch.png - ``` Second, you can report an issue, so we can try to fix your local set up. diff --git a/lectures/wealth_dynamics.md b/lectures/wealth_dynamics.md index 5d260687..46d83317 100644 --- a/lectures/wealth_dynamics.md +++ b/lectures/wealth_dynamics.md @@ -32,21 +32,17 @@ 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 jax import jax.numpy as jnp from collections import namedtuple -%matplotlib inline ``` - Let's check the hardware we are running on: ```{code-cell} ipython3 !nvidia-smi ``` - ## Lorenz Curves and the Gini Coefficient Before we investigate wealth dynamics, we briefly review some measures of