Skip to content

Commit

Permalink
Revert "uncommented code for h-selection example, and experimental tr…
Browse files Browse the repository at this point in the history
…y to enable plotly on RTD"

This reverts commit 2f43315.
  • Loading branch information
rmj3197 committed Feb 7, 2025
1 parent 3ff58ba commit 9543dc9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 1 addition & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"sphinx.ext.mathjax",
"sphinx.ext.ifconfig",
"sphinx.ext.githubpages",
"myst_nb",
"nbsphinx",
"sphinx.ext.intersphinx",
"myst_parser",
]
Expand Down Expand Up @@ -62,8 +62,6 @@
html_theme = "sphinx_book_theme"
html_static_path = ["_static"]
html_css_files = ["css/custom.css"]
# needed for plotly, see https://myst-nb.readthedocs.io/en/latest/render/interactive.html#plotly
html_js_files = ["https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"]
strip_signature_backslash = True

# -- Options for Latex output -------------------------------------------------
Expand Down
12 changes: 6 additions & 6 deletions docs/source/user_guide/basic_usage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -490,13 +490,13 @@
"metadata": {},
"outputs": [],
"source": [
"from QuadratiK.kernel_test import select_h\n",
"# from QuadratiK.kernel_test import select_h\n",
"\n",
"# Perform the algorithm for selecting h\n",
"h_selected, all_powers, plot = select_h(\n",
" x=X_k, y=y_k, alternative=\"skewness\", power_plot=True, method=\"subsampling\", b=0.2\n",
")\n",
"print(f\"Selected h is: {h_selected}\")"
"# # Perform the algorithm for selecting h\n",
"# h_selected, all_powers, plot = select_h(\n",
"# x=X_k, y=y_k, alternative=\"skewness\", power_plot=True, method=\"subsampling\", b=0.2\n",
"# )\n",
"# print(f\"Selected h is: {h_selected}\")"
]
},
{
Expand Down

0 comments on commit 9543dc9

Please sign in to comment.