From e17d4a373e90b1eb49f9a612688a3a0bffae7945 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 30 Aug 2024 18:17:55 +0000 Subject: [PATCH 1/3] CI: (deps): Bump sphinx from 7.3.7 to 8.0.2 in /ci Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 7.3.7 to 8.0.2. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/v8.0.2/CHANGES.rst) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.3.7...v8.0.2) --- updated-dependencies: - dependency-name: sphinx dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- ci/doc_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/doc_requirements.txt b/ci/doc_requirements.txt index 5024ae2da2..f3ebc333e7 100644 --- a/ci/doc_requirements.txt +++ b/ci/doc_requirements.txt @@ -1,4 +1,4 @@ -sphinx==7.3.7 +sphinx==8.0.2 pydata-sphinx-theme==0.15.4 sphinx-design==0.6.1 sphinx-gallery==0.17.1 From 9c7729fb60b824143bb64c5582f2c4fb4a6e2b92 Mon Sep 17 00:00:00 2001 From: Ryan May Date: Fri, 30 Aug 2024 12:31:08 -0600 Subject: [PATCH 2/3] DOC: Elimiante UserWarning in cross_section example Setting the ticklabels before the ticks was pointless anyways. --- examples/cross_section.py | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/cross_section.py b/examples/cross_section.py index 02d8ed8407..b98cb2ef4c 100644 --- a/examples/cross_section.py +++ b/examples/cross_section.py @@ -96,7 +96,6 @@ # Adjust the y-axis to be logarithmic ax.set_yscale('symlog') -ax.set_yticklabels(np.arange(1000, 50, -100)) ax.set_ylim(cross['isobaric'].max(), cross['isobaric'].min()) ax.set_yticks(np.arange(1000, 50, -100)) From 25bcdec283b7bebf50b34ea6d0a73464f3dfcb50 Mon Sep 17 00:00:00 2001 From: Ryan May Date: Fri, 30 Aug 2024 12:43:49 -0600 Subject: [PATCH 3/3] DOC: Fix warning with Sphinx 8 The `metpy` package on these modules is redundant since we've already set the current module to `metpy` above. --- docs/api/index.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/api/index.rst b/docs/api/index.rst index 8e16c21c83..1fa1f8ba74 100644 --- a/docs/api/index.rst +++ b/docs/api/index.rst @@ -9,14 +9,14 @@ Reference Guide .. autosummary:: :toctree: generated/ - metpy.constants - metpy.units - metpy.io - metpy.calc - metpy.plots - metpy.plots.ctables - metpy.interpolate - metpy.xarray + constants + units + io + calc + plots + plots.ctables + interpolate + xarray .. toctree:: :maxdepth: 1