From 27cac73e162161c08edfef239a7dd445bba31107 Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Sun, 2 Sep 2012 18:33:38 -0400 Subject: [PATCH] DOC: Fix section titles to match numpy doc standard --- skimage/graph/_mcp.pyx | 4 ++-- skimage/util/montage.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/skimage/graph/_mcp.pyx b/skimage/graph/_mcp.pyx index beb814fe..6c7e0868 100644 --- a/skimage/graph/_mcp.pyx +++ b/skimage/graph/_mcp.pyx @@ -130,8 +130,8 @@ def make_offsets(d, fully_connected): ------- offsets : list of tuples of length `d` - Example - ------- + Examples + -------- The singly-connected 2-d neighborhood is four offsets: diff --git a/skimage/util/montage.py b/skimage/util/montage.py index 6c23ccbf..1a8cda23 100644 --- a/skimage/util/montage.py +++ b/skimage/util/montage.py @@ -45,8 +45,8 @@ def montage2d(arr_in, fill='mean', rescale_intensity=False): Output array where 'alpha' has been determined automatically to fit (at least) the `n_images` in `arr_in`. - Example - ------- + Examples + -------- >>> import numpy as np >>> from skimage.util.montage import montage2d >>> arr_in = np.arange(3 * 2 * 2).reshape(3, 2, 2)