Skip to content
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

Fix facet_col and animation_frame in px.imshow for xarrays. #4331

Merged
merged 4 commits into from
Aug 22, 2023
Merged

Fix facet_col and animation_frame in px.imshow for xarrays. #4331

merged 4 commits into from
Aug 22, 2023

Conversation

Karl-Krauth
Copy link
Contributor

Pull request addressing #4329 and #4330.

Code PR

  • I have read through the contributing notes and understand the structure of the package. In particular, if my PR modifies code of plotly.graph_objects, my modifications concern the codegen files and not generated files.
  • I have added tests (if submitting a new feature or correcting a bug) or
    modified existing tests.
  • For a new feature, I have added documentation examples in an existing or
    new tutorial notebook (please see the doc checklist as well).
  • I have added a CHANGELOG entry if fixing/changing/adding anything substantial.
  • For a new feature or a change in behaviour, I have updated the relevant docstrings in the code to describe the feature or behaviour (please see the doc checklist as well).

CHANGELOG.md Outdated
Comment on lines 9 to 10
- Fixed issue with px.imshow failing when facet_col is an earlier dimension than animation_frame for xarrays [[#4330](https://github.com/plotly/plotly.py/issues/4330)]
- Fixed issue with px.imshow failing when facet_col has string coordinates in xarrays [[#4329](https://github.com/plotly/plotly.py/issues/4329)]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would you create a new ## UNRELEASED section above ## [5.16.1] and move these there? They can also be combined and reference the PR, something like "Fixed two issues with px.imshow: [#4330], facet_col is an earlier dimension than animation_frame for xarrays, and [#4329], facet_col has string coordinates in xarrays [#4331]"

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

💃 excellent fix @Karl-Krauth - and beautiful tests! Just a tweak to the changelog and we'll be good to merge 🥇

@Karl-Krauth
Copy link
Contributor Author

Done :)

CHANGELOG.md Outdated Show resolved Hide resolved
@alexcjohnson alexcjohnson merged commit c838fec into plotly:master Aug 22, 2023
4 checks passed
@Karl-Krauth Karl-Krauth deleted the imshow-xarray-bugfixes branch August 22, 2023 15:29
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