Skip to content

Commit

Permalink
Put title at the top in jupyter notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
segsell committed May 8, 2024
1 parent 21a25a7 commit 7ce9725
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 37 deletions.
6 changes: 6 additions & 0 deletions docs/source/_static/css/custom_tobi.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/* Remove execution count for notebook cells. */
div.prompt {
display: none;
}


/* Classes for the index page. */
.index-card-image {
padding-top: 1rem;
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = "sphinx"
# pygments_dark_style = "monokai"
pygments_dark_style = "monokai"

# If true, `todo` and `todoList` produce output, else they produce nothing.
if on_rtd:
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Numerical differentiation\n",
"\n",
"Using simple examples, This tutorial shows you how to numerical differentiation with estimagic. More details on the topics covered here can be found in the [how to guides](../how_to_guides/index.md)."
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -11,15 +20,6 @@
"import pandas as pd"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Numerical differentiation\n",
"\n",
"Using simple examples, This tutorial shows you how to numerical differentiation with estimagic. More details on the topics covered here can be found in the [how to guides](../how_to_guides/index.md)."
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
20 changes: 10 additions & 10 deletions docs/source/getting_started/first_optimization_with_estimagic.ipynb
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"cell_type": "markdown",
"metadata": {},
"outputs": [],
"source": [
"import estimagic as em\n",
"import numpy as np\n",
"import pandas as pd"
"# Numerical optimization\n",
"\n",
"Using simple examples, this tutorial shows how to do an optimization with estimagic. More details on the topics covered here can be found in the [how to guides](../how_to_guides/index.md)."
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Numerical optimization\n",
"\n",
"Using simple examples, this tutorial shows how to do an optimization with estimagic. More details on the topics covered here can be found in the [how to guides](../how_to_guides/index.md)."
"import estimagic as em\n",
"import numpy as np\n",
"import pandas as pd"
]
},
{
Expand Down
5 changes: 4 additions & 1 deletion docs/source/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<div style="padding-top: 50px;">
</div>

```{raw} html
<img src="_static/images/estimagic_logo.svg" class="only-light center" style="display:block; margin-left:auto; margin-right:auto; width:300px; height:auto;"/>
Expand All @@ -14,7 +17,7 @@ provides functionality to perform statistical inference on estimated parameters.
For a complete introduction to optimization in estimagic, check out the
{ref}`estimagic_scipy2022`

If you want to know more about pytask, dive into one of the following topics
If you want to know more about estimagic, dive into one of the following topics

`````{grid} 1 2 2 2
---
Expand Down

0 comments on commit 7ce9725

Please sign in to comment.