Issue
In octave the output of float point numbers is limited by default to 4 digits (%.4f). Is there a way to set this behavior using IPython?
Solution
If you are using numpy a lot, then numpy.set_printoptions
lets you tweak that.
Another option is to use the magic %precision
command (only in IPython 0.11 or greater).
I guess that you can put your defaults in your startup configuration file.
Answered By - Jose
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.