Logo Search packages:      
Sourcecode: matplotlib version File versions  Download package

__init__.py

from matplotlib.numerix import which

if which[0] == "numarray":
    from numarray.random_array import *
elif which[0] == "numeric":
    from RandomArray import *
elif which[0] == "numpy":
    try:
        from numpy.oldnumeric.random_array import *
    except ImportError:
        from numpy.random import *
else:
    raise RuntimeError("invalid numerix selector")

Generated by  Doxygen 1.6.0   Back to index