Skip to content

Commit 9a99582

Browse files
committed
silly pep8 whitespace
1 parent 695da47 commit 9a99582

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

probscale/tests/test_probscale.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import probscale
1313
from probscale.probscale import _minimal_norm
1414

15+
1516
class Test__minimal_norm(object):
1617
def setup(self):
1718
self.mn = _minimal_norm()
@@ -73,8 +74,6 @@ def test_cdf(self):
7374
)
7475

7576

76-
77-
7877
@image_comparison(baseline_images=['test_the_scale_default'], extensions=['png'])
7978
@nptest.dec.skipif(PYTHON27)
8079
def test_the_scale_default():
@@ -96,4 +95,4 @@ def test_the_scale_beta():
9695
fig, ax = plt.subplots(figsize=(4, 8))
9796
ax.set_yscale('prob', as_pct=True, dist=stats.beta(3, 2))
9897
ax.set_ylim(1, 99)
99-
fig.tight_layout()
98+
fig.tight_layout()

probscale/tests/test_transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from probscale.probscale import _minimal_norm
77
from probscale import transforms
88

9+
910
class Mixin_Transform(object):
1011
known_input_dims = 1
1112
known_output_dims = 1
@@ -50,4 +51,3 @@ class Test_QuantileTransform(Mixin_Transform):
5051
def setup(self):
5152
self.trans = transforms.QuantileTransform(_minimal_norm)
5253
self.known_tras_na = 69.1464492
53-

probscale/transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ def transform_non_affine(self, q):
6363
return prob
6464

6565
def inverted(self):
66-
return ProbTransform(self.dist, as_pct=self.as_pct, nonpos=self.nonpos)
66+
return ProbTransform(self.dist, as_pct=self.as_pct, nonpos=self.nonpos)

probscale/validate.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,3 @@ def axis_type(axtype):
3939
if axtype.lower() not in ['pp', 'qq', 'prob']:
4040
raise ValueError("invalid axtype: {}".format(axtype))
4141
return axtype.lower()
42-
43-
44-

0 commit comments

Comments
 (0)