8 lines
172 B
Python
8 lines
172 B
Python
|
import numpy as np
|
||
|
|
||
|
np.AxisError(1)
|
||
|
np.AxisError(1, ndim=2)
|
||
|
np.AxisError(1, ndim=None)
|
||
|
np.AxisError(1, ndim=2, msg_prefix="error")
|
||
|
np.AxisError(1, ndim=2, msg_prefix=None)
|