Skip to content

Account for trailing characters when wrapping #10

Description

@gwgundersen

Example:

Set your terminal column size to 31.

>>> arr = np.zeros((1,2,1,9))
>>> fmt = Array(Number(3, 2))
>>> print(fmt(arr))
[[[[   0.00,    0.00,    0.00, 
....   0.00,    0.00,    0.00, 
....   0.00,    0.00,    0.00]]
,  # <-------------------------------------- This guy.
..[[   0.00,    0.00,    0.00, 
....   0.00,    0.00,    0.00, 
....   0.00,    0.00,    0.00]]]]

Activity

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

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions