From 53174ad69c837a5f392ecf6e380f785e560fd4f5 Mon Sep 17 00:00:00 2001 From: Vineyard <33095707+Vineyard-w@users.noreply.github.com> Date: Fri, 10 Jul 2020 16:55:54 +0800 Subject: [PATCH] Update pyplot.py Changed the description of the subplot2grid function: rowspan : int, default: 1 Number of rows for the axis to span downwards. colspan : int, default: 1 Number of columns for the axis to span to the right. --- lib/matplotlib/pyplot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py index 8d7b656106d1..b7e21cb6a78a 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -1366,9 +1366,9 @@ def subplot2grid(shape, loc, rowspan=1, colspan=1, fig=None, **kwargs): loc : (int, int) Row number and column number of the axis location within the grid. rowspan : int, default: 1 - Number of rows for the axis to span to the right. + Number of rows for the axis to span downwards. colspan : int, default: 1 - Number of columns for the axis to span downwards. + Number of columns for the axis to span to the right. fig : `.Figure`, optional Figure to place the subplot in. Defaults to the current figure. **kwargs