summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/shape_base.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py
index ffbe56721..88ed065e1 100644
--- a/numpy/lib/shape_base.py
+++ b/numpy/lib/shape_base.py
@@ -325,6 +325,10 @@ def dstack(tup):
This is a simple way to stack 2D arrays (images) into a single
3D array for processing.
+ This function continues to be supported for backward compatibility, but
+ you should prefer ``np.concatenate`` or ``np.stack`` (keep in mind that
+ ``np.stack`` was added in numpy version 1.10).
+
Parameters
----------
tup : sequence of arrays