Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: update config for jb==0.15.1 #219

Merged
merged 7 commits into from
Mar 24, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
20 changes: 17 additions & 3 deletions lectures/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ title: QuantEcon DataScience
author: Chase Coleman, Spencer Lyon, and Jesse Perla
logo: _static/datascience-logo.png
description: This website presents a series of lectures on programming, data science, and economics.
analytics:
google_analytics_id: UA-54984338-5

execute:
execute_notebooks: "force"
Expand All @@ -10,9 +12,24 @@ execute:
html:
baseurl: https://datascience.quantecon.org/

bibtex_bibfiles:
- applications/applications.bib

sphinx:
extra_extensions: [sphinx_multitoc_numbering, sphinx_exercise, sphinx_tojupyter]
config:
suppress_warnings: ["mystnb.unknown_mime_type"]
nb_mime_priority_overrides: [
['html', 'application/vnd.jupyter.widget-view+json', 10],
['html', 'application/javascript', 20],
['html', 'text/html', 30],
['html', 'text/latex', 40],
['html', 'image/svg+xml', 50],
['html', 'image/png', 60],
['html', 'image/jpeg', 70],
['html', 'text/markdown', 80],
['html', 'text/plain', 90],
]
html_favicon: _static/lectures-favicon.ico
html_static_path: ['_static']
html_theme: quantecon_book_theme
Expand All @@ -31,7 +48,6 @@ sphinx:
launch_buttons:
colab_url: https://colab.research.google.com
binderhub_url: https://mybinder.org
google_analytics_id: UA-54984338-5
persistent_sidebar: true
mathjax3_config:
tex:
Expand All @@ -56,6 +72,4 @@ sphinx:
name: python3
file_extension: ".py"
tojupyter_images_markdown: true
bibtex_bibfiles:
- applications/applications.bib

2 changes: 1 addition & 1 deletion lectures/applications/recidivism.md
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ ax2 = ax1.twinx()
ax2.plot(logpenalties,nnonzero, color=colors[1])
ax2.set_ylabel("nonzero coefficients", color=colors[1])
ax2.tick_params('y', colors=colors[1])
ax2.grid(b=None);
ax2.grid(visible=False);
```

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