From 83efb244672e6babd9a5e9b519403627a01df7cb Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Tue, 7 Apr 2020 16:27:05 +0200 Subject: [PATCH] Fix minor doc typos. --- examples/images_contours_and_fields/pcolormesh_grids.py | 2 +- examples/lines_bars_and_markers/fill_between_demo.py | 4 ++-- examples/subplots_axes_and_figures/subplots_demo.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/images_contours_and_fields/pcolormesh_grids.py b/examples/images_contours_and_fields/pcolormesh_grids.py index 9b6457108b26..b680cfba7a19 100644 --- a/examples/images_contours_and_fields/pcolormesh_grids.py +++ b/examples/images_contours_and_fields/pcolormesh_grids.py @@ -27,7 +27,7 @@ # and if the grid is one larger than the data in each dimension, i.e. has shape # *(M+1, N+1)*. In that case *X* and *Y* specify the corners of quadrilaterals # that are colored with the values in *Z*. Here we specify the edges of the -# *(3, 5)* quadrilaterals with *X* and *Y* that are *(4, 6)*. +# *(3, 5)* quadrilaterals with *X* and *Y* that are *(4, 6)*. nrows = 3 ncols = 5 diff --git a/examples/lines_bars_and_markers/fill_between_demo.py b/examples/lines_bars_and_markers/fill_between_demo.py index 6b9566033472..8f7e7c11d024 100644 --- a/examples/lines_bars_and_markers/fill_between_demo.py +++ b/examples/lines_bars_and_markers/fill_between_demo.py @@ -14,8 +14,8 @@ # # Basic usage # ----------- -# The parameters *y1* and *y2* can be a scalar, indicating a horizontal -# boundary a the given y-values. If only *y1* is given, *y2* defaults to 0. +# The parameters *y1* and *y2* can be scalars, indicating a horizontal +# boundary at the given y-values. If only *y1* is given, *y2* defaults to 0. x = np.arange(0.0, 2, 0.01) y1 = np.sin(2 * np.pi * x) diff --git a/examples/subplots_axes_and_figures/subplots_demo.py b/examples/subplots_axes_and_figures/subplots_demo.py index 27a6d1a95c67..e4434808864c 100644 --- a/examples/subplots_axes_and_figures/subplots_demo.py +++ b/examples/subplots_axes_and_figures/subplots_demo.py @@ -94,7 +94,7 @@ ax.label_outer() ############################################################################### -# You can use tuple-unpacking also in 2D to assign all subplots to dedicated +# You can use tuple-unpacking also in 2D to assign all subplots to dedicated # variables: fig, ((ax1, ax2), (ax3, ax4)) = plt.subplots(2, 2)