Skip to content

BUG: Linewidth is not respected #10170

Closed
Closed

Description

@eric-wieser

These can currently exceed the requested line width:

>>> np.get_printoptions()['linewidth']
75
>>> repr(np.zeros((1,)*31 + (12,), int))
'array([[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]])'
>>> len(_)
105

Last formatting change for 1.14, hopefully

Activity

  1. added this to the milestone on Dec 7, 2017
  2. added a commit that references this issue on Dec 8, 2017
    528c8c8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions