Skip to content

Conversation

@keewis
Copy link
Collaborator

@keewis keewis commented May 30, 2021

In #5235 we seem to have accidentally broken the repr of Variable objects with display_expand_data=False. I don't think Variable objects benefit from the collapsed view, so the easiest fix seems to be to always use short_data_repr for Variable objects.

  • Tests added
  • Passes pre-commit run --all-files
  • User visible changes (including notable bug fixes) are documented in whats-new.rst

Copy link
Collaborator

@max-sixty max-sixty left a comment

Choose a reason for hiding this comment

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

Perfect!

@keewis keewis merged commit 83eda1a into pydata:master May 31, 2021
@keewis keewis deleted the fix-variable-repr branch May 31, 2021 11:48
@keewis
Copy link
Collaborator Author

keewis commented May 31, 2021

thanks for the review, @max-sixty

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.

2 participants