From 74acdc9fa9567db3293ad9edb9faca2271fbf027 Mon Sep 17 00:00:00 2001 From: spotter Date: Tue, 12 Mar 2013 17:09:17 +0100 Subject: [PATCH] FIX: changed unicode dash in docstrings. --- doc/examples/plot_ihc_color_separation.py | 2 +- skimage/color/colorconv.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/examples/plot_ihc_color_separation.py b/doc/examples/plot_ihc_color_separation.py index 02dc6761..626d76ab 100644 --- a/doc/examples/plot_ihc_color_separation.py +++ b/doc/examples/plot_ihc_color_separation.py @@ -14,7 +14,7 @@ Diaminobenzidine (DAB) which gives a brown color. .. [1] A. C. Ruifrok and D. A. Johnston, "Quantification of histochemical staining by color deconvolution.," Analytical and quantitative cytology and histology / the International Academy of Cytology [and] - American Society of Cytology, vol. 23, no. 4, pp. 291–9, Aug. 2001. + American Society of Cytology, vol. 23, no. 4, pp. 291-9, Aug. 2001. """ import matplotlib.pyplot as plt diff --git a/skimage/color/colorconv.py b/skimage/color/colorconv.py index 2b954098..f74eb2f4 100644 --- a/skimage/color/colorconv.py +++ b/skimage/color/colorconv.py @@ -320,7 +320,7 @@ lab_ref_white = np.array([0.95047, 1., 1.08883]) # "Quantification of histochemical staining by color deconvolution.," # Analytical and quantitative cytology and histology / the International # Academy of Cytology [and] American Society of Cytology, vol. 23, no. 4, -# pp. 291–9, Aug. 2001. +# pp. 291-9, Aug. 2001. rgb_from_hed = np.array([[0.65, 0.70, 0.29], [0.07, 0.99, 0.11], [0.27, 0.57, 0.78]]) @@ -833,7 +833,7 @@ def rgb2hed(rgb): .. [1] A. C. Ruifrok and D. A. Johnston, "Quantification of histochemical staining by color deconvolution.," Analytical and quantitative cytology and histology / the International Academy of Cytology [and] - American Society of Cytology, vol. 23, no. 4, pp. 291–9, Aug. 2001. + American Society of Cytology, vol. 23, no. 4, pp. 291-9, Aug. 2001. Examples -------- @@ -868,7 +868,7 @@ def hed2rgb(hed): .. [1] A. C. Ruifrok and D. A. Johnston, "Quantification of histochemical staining by color deconvolution.," Analytical and quantitative cytology and histology / the International Academy of Cytology [and] - American Society of Cytology, vol. 23, no. 4, pp. 291–9, Aug. 2001. + American Society of Cytology, vol. 23, no. 4, pp. 291-9, Aug. 2001. Examples --------