From b332287caba803bd6fce4f65c7f1aeec1a28933b Mon Sep 17 00:00:00 2001 From: Moritz Kern <92092328+Moritz-Alexander-Kern@users.noreply.github.com> Date: Tue, 10 Oct 2023 10:41:03 +0200 Subject: [PATCH] [Doc] readthedocs: configuration key build.image is deprecated, changed to build.os (#596) * configuration key build.image is deprecated, changed to build.os * specify OS version * specify tools and commands * specify Python version for build --- doc/tutorials/unitary_event_analysis.ipynb | 3 ++- readthedocs.yml | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/tutorials/unitary_event_analysis.ipynb b/doc/tutorials/unitary_event_analysis.ipynb index e3cce9873..367f461e5 100644 --- a/doc/tutorials/unitary_event_analysis.ipynb +++ b/doc/tutorials/unitary_event_analysis.ipynb @@ -301,7 +301,8 @@ "\n", " fig, axes = plt.subplots(nrows=6, sharex=True,\n", " figsize=plot_params['figsize'])\n", - " axes[5].get_shared_y_axes().join(axes[0], axes[2], axes[5])\n", + " axes[5].sharey(axes[0])\n", + " axes[0].sharey(axes[2])\n", "\n", " for ax in (axes[0], axes[2], axes[5]):\n", " for n in range(n_neurons):\n", diff --git a/readthedocs.yml b/readthedocs.yml index 5d6f4b6cd..a19bc0a1d 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -2,7 +2,9 @@ version: 2 build: - image: latest + os: ubuntu-22.04 + tools: + python: "mambaforge-22.9" sphinx: builder: html @@ -18,4 +20,4 @@ python: extra_requirements: - docs - extras - - tutorials \ No newline at end of file + - tutorials