Skip to content

Commit ccfe7f2

Browse files
committed
moved the imports to more logical places
1 parent 8ee3a88 commit ccfe7f2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

probscale/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
from matplotlib import scale
2+
13
from .viz import *
4+
from .probscale import ProbScale
5+
6+
scale.register_scale(ProbScale)

probscale/viz.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
import numpy
22
from matplotlib import pyplot
3-
from matplotlib import scale
43
from scipy import stats
54

6-
from .probscale import ProbScale
75
from .probscale import _minimal_norm
86
from . import validate
97

108

11-
scale.register_scale(ProbScale)
12-
13-
149
def probplot(data, ax=None, axtype='prob', probax='x',
1510
otherscale='linear', xlabel=None, ylabel=None,
1611
bestfit=False, return_results=False,

0 commit comments

Comments
 (0)