@@ -30,9 +30,9 @@ def auto_adjust_subplotpars(
3030
3131 Parameters
3232 ----------
33- nrows_ncols : Tuple [int, int]
33+ nrows_ncols : tuple [int, int]
3434 Number of rows and number of columns of the grid.
35- num1num2_list : List [int]
35+ num1num2_list : list [int]
3636 List of numbers specifying the area occupied by the subplot
3737 subplot_list : list of subplots
3838 List of subplots that will be used to calculate optimal subplot_params.
@@ -42,7 +42,7 @@ def auto_adjust_subplotpars(
4242 h_pad, w_pad : float
4343 Padding (height/width) between edges of adjacent subplots, as a
4444 fraction of the font size. Defaults to *pad*.
45- rect : Tuple [float, float, float, float]
45+ rect : tuple [float, float, float, float]
4646 [left, bottom, right, top] in normalized (0, 1) figure coordinates.
4747 """
4848 rows , cols = nrows_ncols
@@ -237,7 +237,7 @@ def get_tight_layout_figure(fig, axes_list, subplotspec_list, renderer,
237237 h_pad, w_pad : float
238238 Padding (height/width) between edges of adjacent subplots. Defaults to
239239 *pad*.
240- rect : Tuple [float, float, float, float], optional
240+ rect : tuple [float, float, float, float], optional
241241 (left, bottom, right, top) rectangle in normalized figure coordinates
242242 that the whole subplots area (including labels) will fit into.
243243 Defaults to using the entire figure.
@@ -247,7 +247,6 @@ def get_tight_layout_figure(fig, axes_list, subplotspec_list, renderer,
247247 subplotspec or None
248248 subplotspec kwargs to be passed to `.Figure.subplots_adjust` or
249249 None if tight_layout could not be accomplished.
250-
251250 """
252251
253252 subplot_list = []
0 commit comments