Skip to content

Commit 791ca19

Browse files
authored
Merge pull request #219 from QuantEcon/update-config
MAINT: update config for jb==0.15.1
2 parents 31f589e + 0089435 commit 791ca19

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

lectures/_config.yml

+17-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ title: QuantEcon DataScience
22
author: Chase Coleman, Spencer Lyon, and Jesse Perla
33
logo: _static/datascience-logo.png
44
description: This website presents a series of lectures on programming, data science, and economics.
5+
analytics:
6+
google_analytics_id: UA-54984338-5
57

68
execute:
79
execute_notebooks: "force"
@@ -10,9 +12,24 @@ execute:
1012
html:
1113
baseurl: https://datascience.quantecon.org/
1214

15+
bibtex_bibfiles:
16+
- applications/applications.bib
17+
1318
sphinx:
1419
extra_extensions: [sphinx_multitoc_numbering, sphinx_exercise, sphinx_tojupyter]
1520
config:
21+
suppress_warnings: ["mystnb.unknown_mime_type"]
22+
nb_mime_priority_overrides: [
23+
['html', 'application/vnd.jupyter.widget-view+json', 10],
24+
['html', 'application/javascript', 20],
25+
['html', 'text/html', 30],
26+
['html', 'text/latex', 40],
27+
['html', 'image/svg+xml', 50],
28+
['html', 'image/png', 60],
29+
['html', 'image/jpeg', 70],
30+
['html', 'text/markdown', 80],
31+
['html', 'text/plain', 90],
32+
]
1633
html_favicon: _static/lectures-favicon.ico
1734
html_static_path: ['_static']
1835
html_theme: quantecon_book_theme
@@ -31,7 +48,6 @@ sphinx:
3148
launch_buttons:
3249
colab_url: https://colab.research.google.com
3350
binderhub_url: https://mybinder.org
34-
google_analytics_id: UA-54984338-5
3551
persistent_sidebar: true
3652
mathjax3_config:
3753
tex:
@@ -56,6 +72,4 @@ sphinx:
5672
name: python3
5773
file_extension: ".py"
5874
tojupyter_images_markdown: true
59-
bibtex_bibfiles:
60-
- applications/applications.bib
6175

lectures/applications/recidivism.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ ax2 = ax1.twinx()
943943
ax2.plot(logpenalties,nnonzero, color=colors[1])
944944
ax2.set_ylabel("nonzero coefficients", color=colors[1])
945945
ax2.tick_params('y', colors=colors[1])
946-
ax2.grid(b=None);
946+
ax2.grid(visible=False);
947947
```
948948

949949
Let's also look at the nonzero coefficients. We should be careful

0 commit comments

Comments
 (0)