fix: typestr respects now limit_cols for .show and _repr_mimebundle_#3712
fix: typestr respects now limit_cols for .show and _repr_mimebundle_#3712pfackeldey merged 1 commit intoscikit-hep:mainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files
🚀 New features to boost your workflow:
|
|
The documentation preview is ready to be viewed at http://preview.awkward-array.org.s3-website.us-east-1.amazonaws.com/PR3712 |
|
@pfackeldey I didn't full understand from the PR description, is the cropping now exactly identical in jupyter notebooks to the cropping you did some time ago for repr? |
It's not the same, both crop for a max width, but that is different because in the repr we have things like "<Array ..." in addition before the typestring. |
Thanks, was just curious if it's not OCD friendly 🤣 But cropping with respect to the width is. |
ianna
left a comment
There was a problem hiding this comment.
@pfackeldey - Great! Thanks for fixing it. Please, merge it if you are done with it. Thanks!
Closes #3705.
The type string in
.showand_repr_mimebundle_(notebook repr) now respects thelimit_colsarguments:and for notebooks:
which renders to:
I fixed the same also for
named_axis, in this PR.