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

Compare and Swap Holoviews Extension #733

Merged
merged 13 commits into from
Apr 2, 2024
Merged

Compare and Swap Holoviews Extension #733

merged 13 commits into from
Apr 2, 2024

Conversation

philipc2
Copy link
Member

@philipc2 philipc2 commented Mar 20, 2024

Closes #734

Overview

  • Removes duplicate and redundant calls to hv.extension by keeping track of the previous backend and only calling hv.extension when a swap occurs.

@philipc2 philipc2 linked an issue Mar 20, 2024 that may be closed by this pull request
@philipc2 philipc2 mentioned this pull request Mar 22, 2024
@philipc2 philipc2 marked this pull request as ready for review March 22, 2024 19:51
@philipc2 philipc2 self-assigned this Mar 25, 2024
@philipc2 philipc2 changed the title DRAFT: Compare and Swap Holoviews Extension Compare and Swap Holoviews Extension Mar 25, 2024
Copy link
Member

@erogluorhan erogluorhan left a comment

Choose a reason for hiding this comment

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

Thanks very much for handling this! Overall I like it and will approve soon. Just couple things:

  1. See the inline comment
  2. I am wondering how the cookbook would render with this. Did you (or if not, could you) install UXarray from this branch in a local copy of the cookbook and see how its plots rendering? Though, this might not even be needed, I just checked the usage examples rendered in this PR, and I think the issues seem resolved?

uxarray/plot/utils.py Outdated Show resolved Hide resolved
Copy link
Member

@erogluorhan erogluorhan left a comment

Choose a reason for hiding this comment

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

Looks good to me

@philipc2 philipc2 merged commit b417ac8 into main Apr 2, 2024
14 checks passed
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.

Repeated calls to hv.extension in plotting routines
2 participants