Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Lawson committed Sep 27, 2018
1 parent 03b5578 commit f5b5d94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sklearn/utils/_scipy_truncnorm_backport.py
Expand Up @@ -4,6 +4,7 @@
#
import numbers

import numpy as np
from .fixes import sp_version
if sp_version < (0, 14):
from scipy.stats.distributions import rv_frozen, rv_continuous
Expand All @@ -12,8 +13,8 @@
else:
from scipy.stats._distn_infrastructure import rv_frozen, rv_continuous
from scipy.stats._continuous_distns import (_norm_cdf, _norm_sf, _norm_pdf,
_norm_logpdf, _norm_isf, _norm_ppf)
import numpy as np
_norm_logpdf, _norm_isf,
_norm_ppf)

__all__ = ['truncnorm']

Expand Down

0 comments on commit f5b5d94

Please sign in to comment.