-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Open
Description
Proposed new feature or change:
At the moment, print options are initialized with default options and can be changed with either numpy.set_printoptions
function or numpy.printoptions
context manager. Sometimes it is not very convenient to modify a code with mentioned above function to display arrays in more readable way.
It would be great to initialize print options from environment variables prefixed with NUMPY_PRINTOPTION_
(e.g. precision
print option should be initialized from NUMPY_PRINTOPTION_PRECISION
envvar).
NUMPY_PRINTOPTION_LINEWIDTH=120 python my-fance-solver.py
Metadata
Metadata
Assignees
Labels
No labels