Skip to content

Commit

Permalink
Fix NumPy set_printoptions() demo
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter committed Sep 14, 2022
1 parent bc72d18 commit e3af994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/basic-usage/element-representation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ The readability is improved by increasing the line width using :func:`numpy.set_
@suppress
width = np.get_printoptions()["linewidth"]
np.set_printoptions(linewidth=150)
np.set_printoptions(linewidth=200)
x
@suppress
np.set_printoptions(linewidth=width)
Expand Down

0 comments on commit e3af994

Please sign in to comment.