-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to always use truncated display of Measurements #40
Comments
There is already a PR for Unitful.jl to fix the issue when using the two packages together: PainterQubits/Unitful.jl#213 |
I did not know of that PR, that will be definitively a huge improvement! However there are still cases where the display is not truncated, like in this MWE:
An option to always use truncation would solve this for all cases where one has no control over whether the IO has Or, if a global option is not possible, is there some way one can easily force Measurements to be displayed truncated? |
I don't really like global options. I'm thinking about simply always using truncated display. |
That would also be totally fine (and reasonable) for me. However, in that case an easy method to display the untruncated version would probably be good. |
Would it be possible to get an option to tell Measurements to always use the truncated display of error values?
I'm almost never concerned about all of the digits of a Measurement but even when using an IO with compact display like the REPL it still happens often that Measurements are displayed as a whole. Especially in combination with Unitful.jl or in Tuples or arrays.
The text was updated successfully, but these errors were encountered: