diff options
author | Evgeni Burovski <evgeny.burovskiy@gmail.com> | 2018-01-16 13:56:07 +0300 |
---|---|---|
committer | Evgeni Burovski <evgeny.burovskiy@gmail.com> | 2018-01-17 00:01:43 +0300 |
commit | ba3e5856ca20d66aaa675261e82da1814f9cba1f (patch) | |
tree | b20cb27ae7c4b2d75374d6151ce0dadd11d69f49 /doc | |
parent | c14e68e0ff36b922328889a846fab4cb23e1a942 (diff) | |
download | python-numpy-ba3e5856ca20d66aaa675261e82da1814f9cba1f.tar.gz python-numpy-ba3e5856ca20d66aaa675261e82da1814f9cba1f.tar.bz2 python-numpy-ba3e5856ca20d66aaa675261e82da1814f9cba1f.zip |
DOC: add a release not for `printoptions`
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.15.0-notes.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/1.15.0-notes.rst b/doc/release/1.15.0-notes.rst index 16a44113c..996cd47b9 100644 --- a/doc/release/1.15.0-notes.rst +++ b/doc/release/1.15.0-notes.rst @@ -15,6 +15,13 @@ New functions * `np.ma.stack`, the `np.stack` array-joining function generalized to masked arrays. +* `np.printoptions`, the context manager which sets print options temporarily + for the scope of the ``with`` block:: + + >>> with np.printoptions(precision=2): + ... print(np.array([2.0])) / 3 + [0.67] + Deprecations ============ |