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

docs: allow jupyter notebooks in documentation #321

Merged
merged 30 commits into from
Apr 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
66a9acf
deps: add jupyter as mkdocs dependency
hollandjg Mar 28, 2023
5bd6044
docs: remove old docstrings example
hollandjg Mar 28, 2023
bdf685a
docs: add jupyter notebook integration in material theme
hollandjg Mar 28, 2023
ad7bf0c
docs: add download button on jupyter pages
hollandjg Mar 28, 2023
6fa2ba1
chore: remove old studies directory
hollandjg Mar 28, 2023
7661cee
docs: move and reorganize docs
hollandjg Mar 28, 2023
1b924bc
docs: add "open in colab" link for notebook files
hollandjg Mar 29, 2023
00e79e1
docs: example.ipynb replaces example.md
hollandjg Mar 29, 2023
18e67d5
docs: search_space.ipynb replaces search_space.md
hollandjg Mar 29, 2023
c858455
docs: .ipynb replaces .md in nav
hollandjg Mar 29, 2023
0f4a65c
docs: use file name as title
hollandjg Mar 29, 2023
a5d5a9c
docs: break up sklearn directory in docs/examples – merge into theori…
hollandjg Mar 29, 2023
a3a27cb
docs: replace darts example with notebook
hollandjg Mar 29, 2023
b2b565a
Merge branch 'main' into docs/jupyter-in-documentation
hollandjg Mar 29, 2023
2772ec0
docs: replace hardcoded weber-fechner data with data from synthetic m…
hollandjg Mar 29, 2023
24a3c33
docs: replace hardcoded weber-fechner data with data from synthetic m…
hollandjg Mar 29, 2023
59a2a4e
Merge remote-tracking branch 'origin/docs/jupyter-in-documentation' i…
hollandjg Mar 29, 2023
9e9b648
chore: revert adding link to repo
hollandjg Mar 29, 2023
bce3c93
docs: update path to main branch
hollandjg Mar 29, 2023
ac6b06b
docs: add colab import statements (commented out)
hollandjg Mar 29, 2023
6d6df34
docs: fix imports in experimentalist pipeline examples
hollandjg Mar 29, 2023
8ca2add
docs: replace simple cycle BMS and poppernet example with notebook
hollandjg Mar 29, 2023
75e8e40
docs: replace simple cycle BMS and poppernet example with notebook
hollandjg Mar 29, 2023
9347c40
refactor: restructure docs and scripts directorty for docs
hollandjg Mar 29, 2023
791eef9
Merge branch 'main' into docs/jupyter-in-documentation
hollandjg Apr 5, 2023
bfc2e36
chore: switch branch to main in links
hollandjg Apr 5, 2023
3acd95e
Merge remote-tracking branch 'origin/docs/jupyter-in-documentation' i…
hollandjg Apr 5, 2023
2c71889
chore: update lockfile
hollandjg Apr 5, 2023
128f959
docs: add edit links
hollandjg Apr 5, 2023
227f6a0
docs: update bsr example
hollandjg Apr 5, 2023
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
4 changes: 1 addition & 3 deletions .idea/autora.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,26 @@
" # Examples of using cycle results plotting functions"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%% md\n"
}
"collapsed": false
}
},
{
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [
"# Uncomment the following line when running on Google Colab\n",
"# !pip install autora"
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true,
"pycharm": {
"name": "#%%\n"
}
"collapsed": true
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -99,10 +105,7 @@
"cycle.run(5)"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
},
{
Expand All @@ -115,10 +118,7 @@
"* Default panel configuration is 4 plots to a row."
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%% md\n"
}
"collapsed": false
}
},
{
Expand All @@ -139,10 +139,7 @@
"plot_results_panel_2d(cycle); # Add semicolon to supress creating two figures in jupyter notebook"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
},
{
Expand All @@ -151,10 +148,7 @@
"### Default parameters can be changed by passing in keywords"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%% md\n"
}
"collapsed": false
}
},
{
Expand All @@ -178,10 +172,7 @@
" );"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
},
{
Expand All @@ -194,10 +185,7 @@
" * Below shows ways to specify the parameters of the [scatter](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.scatter.html) points and theory [line](https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.plot.html)."
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%% md\n"
}
"collapsed": false
}
},
{
Expand All @@ -224,10 +212,7 @@
" );"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
},
{
Expand All @@ -236,10 +221,7 @@
"Saving the figure to an object (above) will allow you to cycle through the axes to make panel-specific edits."
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%% md\n"
}
"collapsed": false
}
},
{
Expand All @@ -265,10 +247,7 @@
"fig\n"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
},
{
Expand All @@ -280,10 +259,7 @@
"2. **Slice**: Constructed with `slice()` or `np.s_[]`"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%% md\n"
}
"collapsed": false
}
},
{
Expand Down Expand Up @@ -334,10 +310,7 @@
"fig.suptitle('Last Cycle')"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
},
{
Expand Down Expand Up @@ -370,10 +343,7 @@
"fig.supxlabel('x1', y=0.1)"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
},
{
Expand Down Expand Up @@ -423,10 +393,7 @@
"fig2.suptitle('Last 2 Cycles')"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
},
{
Expand All @@ -436,10 +403,7 @@
"The 3D plotter has similar functionality as the 2D plotter but will only work with problem spaces where there are exactly 2 independent variable values. Only one dependent value can be plotted at a time."
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%% md\n"
}
"collapsed": false
}
},
{
Expand Down Expand Up @@ -508,10 +472,7 @@
"cycle_mlr.run(5)"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
},
{
Expand All @@ -532,10 +493,7 @@
"fig = plot_results_panel_3d(cycle_mlr); # Add semicolon to supress creating two figures in jupyter notebook"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
},
{
Expand All @@ -559,10 +517,7 @@
" );"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
},
{
Expand All @@ -589,10 +544,7 @@
" );\n"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
},
{
Expand All @@ -607,10 +559,7 @@
"</div>\n"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%% md\n"
}
"collapsed": false
}
},
{
Expand Down Expand Up @@ -638,10 +587,7 @@
" );"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
},
{
Expand Down Expand Up @@ -669,10 +615,7 @@
" );\n"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
"collapsed": false
}
}
],
Expand All @@ -697,4 +640,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
Loading