From d81d52dffef9be4f71785aeca22d1c81ee3bc617 Mon Sep 17 00:00:00 2001 From: dubourg <dubourg@PTlami14.(none)> Date: Sun, 14 Nov 2010 18:51:41 +0100 Subject: [PATCH] Can't comply with contradictory PEP8 rules on some specfic code such as: y = function(- x) : it asks for spaces around operator, but spaces after parentheses are not allowed :(... --- ...plot_gp_probabilistic_classification_after_regression.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/gaussian_process/plot_gp_probabilistic_classification_after_regression.py b/examples/gaussian_process/plot_gp_probabilistic_classification_after_regression.py index 99ea5ede72..b1046e22bd 100644 --- a/examples/gaussian_process/plot_gp_probabilistic_classification_after_regression.py +++ b/examples/gaussian_process/plot_gp_probabilistic_classification_after_regression.py @@ -99,15 +99,15 @@ pl.plot(X[Y > 0, 0], X[Y > 0, 1], 'b.', markersize=12) cs = pl.contour(x1, x2, YY, [0.], colors='k', \ linestyles='dashdot') -cs = pl.contour(x1, x2, PHI(-yy/sigma), [0.025], colors='b', \ +cs = pl.contour(x1, x2, PHI(- yy / sigma), [0.025], colors='b', \ linestyles='solid') pl.clabel(cs, fontsize=11) -cs = pl.contour(x1, x2, PHI(-yy/sigma), [0.5], colors='k', \ +cs = pl.contour(x1, x2, PHI(- yy / sigma), [0.5], colors='k', \ linestyles='dashed') pl.clabel(cs, fontsize=11) -cs = pl.contour(x1, x2, PHI(-yy/sigma), [0.975], colors='r', \ +cs = pl.contour(x1, x2, PHI(- yy / sigma), [0.975], colors='r', \ linestyles='solid') pl.clabel(cs, fontsize=11) -- GitLab