You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lectures/black_litterman.md
+21-3Lines changed: 21 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -382,10 +382,10 @@ customer's portfolio will involve big short-long positions.
382
382
383
383
```{note}
384
384
To Generate an Interactive Plot you can use the ipywidget
385
-
decorator `interact`.
385
+
decorator `interact`. Interactive plotting requires the [ipywidgets](https://github.com/jupyter-widgets/ipywidgets) module to be installed and enabled.
386
386
387
-
This doesn't currently display on the website. Working
388
-
to support rich content such as ipywidgets as HTML javascript objects.
387
+
The following `code-cell` doesn't currently display on the website. We are working
388
+
to support rich content such as `ipywidgets` as HTML javascript objects.
However you can use the [binder link](https://mybinder.org/v2/gh/QuantEcon/lecture-python-advanced.notebooks/master?urlpath=tree/black_litterman.ipynb) to launch this notebook on mybinder
626
+
```
627
+
619
628
```{code-cell} python3
620
629
:tags: ["remove-output"]
621
630
np.random.seed(1987102)
@@ -702,6 +711,15 @@ This leads to the
702
711
following figure, on which the curve connecting $\hat \mu$
703
712
and $\mu_{BL}$ are bending
704
713
714
+
```{note}
715
+
The following `code-cell` doesn't currently display on the website. We are working
716
+
to support rich content such as `ipywidgets` as HTML javascript objects.
However you can use the [binder link](https://mybinder.org/v2/gh/QuantEcon/lecture-python-advanced.notebooks/master?urlpath=tree/black_litterman.ipynb) to launch this notebook on mybinder
Copy file name to clipboardExpand all lines: lectures/matsuyama.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -787,9 +787,7 @@ plt.show()
787
787
788
788
Additionally, instead of just seeing 4 plots at once, we might want to
789
789
manually be able to change $\rho$ and see how it affects the plot
790
-
in real-time. Below we use an interactive plot to do this.
791
-
792
-
Note, interactive plotting requires the [ipywidgets](https://github.com/jupyter-widgets/ipywidgets) module to be installed and enabled.
790
+
in real-time. Below we will turn the following figure into an interactive plot.
793
791
794
792
```{code-cell} python3
795
793
#Setup Parameters
@@ -815,14 +813,14 @@ plt.show()
815
813
816
814
```{note}
817
815
To Generate an Interactive Plot you can use the ipywidget
818
-
decorator `interact`.
816
+
decorator `interact`. Interactive plotting requires the [ipywidgets](https://github.com/jupyter-widgets/ipywidgets) module to be installed and enabled.
819
817
820
-
This doesn't currently display on the website. Working
818
+
This doesn't currently display on the website. We are working
821
819
to support rich content such as ipywidgets as HTML javascript objects.
However you can use the [binder link](https://mybinder.org/v2/gh/QuantEcon/lecture-python-advanced.notebooks/master?urlpath=tree/matsuyama.ipynb) to launch this notebook on mybinder
823
+
However you can use the [binder link](https://mybinder.org/v2/gh/QuantEcon/lecture-python-advanced.notebooks/master?urlpath=tree/matsuyama.ipynb) to launch this notebook on mybinder.
0 commit comments