Skip to content

fix: too many dashes in jupyter repr#3552

Merged
pfackeldey merged 7 commits intomainfrom
pfackeldey/fix_mime_reprbundle
Jun 18, 2025
Merged

fix: too many dashes in jupyter repr#3552
pfackeldey merged 7 commits intomainfrom
pfackeldey/fix_mime_reprbundle

Conversation

@pfackeldey
Copy link
Copy Markdown
Collaborator

(Hopefully) closes #3529.

@ianna & @ikrommyd can you give this a try?

@ikrommyd
Copy link
Copy Markdown
Collaborator

ikrommyd commented Jun 17, 2025

Hi @pfackeldey, It helps but I think it's still too many in certain cases. For the same example from the issue:

image

Ideally, it should be as long as the array display right above it right?

@pfackeldey
Copy link
Copy Markdown
Collaborator Author

Could you try again @ikrommyd ?

@ikrommyd
Copy link
Copy Markdown
Collaborator

ikrommyd commented Jun 17, 2025

Now I'm getting this. Reduced fields of the record array as well :). I'm happy if that's the intended result.
image

@pfackeldey
Copy link
Copy Markdown
Collaborator Author

Reduced fields of the record array as well :). I'm happy if that's the intended result.

that was intended, however that only works for the most outer level of fields. At arbitrary depths is non-trivial and I'd say over-engineering. My view is either have this reduced field repr or none.

@pfackeldey pfackeldey requested a review from ianna June 17, 2025 23:57
Copy link
Copy Markdown
Member

@ianna ianna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pfackeldey - Thank you! Looks great! Please merge if you finished with it. Thanks!

@pfackeldey pfackeldey merged commit 7f3e354 into main Jun 18, 2025
43 checks passed
@pfackeldey pfackeldey deleted the pfackeldey/fix_mime_reprbundle branch June 18, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Too many dashes printed in the repr

3 participants