Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Factor out layer selecton and MPL figure creation#125

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
dstansby merged 1 commit intomatplotlib:mainfromdstansby:refactor
May 19, 2023

Conversation

dstansby
Copy link
Member

I started writing docs for#24, and in the process realised that third-party users might want to just have a plain napari-styled Matplotlib figure, without any of the napari layer callbacks setup.

This PR extracts the functionality for setting up the Matplotlib figure intoBaseNapariMPLWidget, which is then inherited byNapariMPLWidget to add the layer selection event updating bits. This doesn't change the API, but does provide a nicer separation of responsibilities between the new classes, and the new base class that could be used by third party users.

@dstansbydstansby marked this pull request as ready for reviewMay 18, 2023 15:40
Copy link
Collaborator

@ruaridhgruaridhg left a comment

Choose a reason for hiding this comment

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

LGTM

@ruaridhgruaridhg added this pull request to the merge queueMay 19, 2023
@github-merge-queuegithub-merge-queuebot removed this pull request from the merge queue due to no response for status checksMay 19, 2023
@ruaridhgruaridhg added this pull request to the merge queueMay 19, 2023
@dstansbydstansby removed this pull request from the merge queue due to the queue being clearedMay 19, 2023
@dstansbydstansby merged commit20bc846 intomatplotlib:mainMay 19, 2023
@dstansbydstansby deleted the refactor branchMay 19, 2023 12:35
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ruaridhgruaridhgruaridhg approved these changes

@samcunliffesamcunliffeAwaiting requested review from samcunliffe

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@dstansby@ruaridhg

[8]ページ先頭

©2009-2025 Movatter.jp