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

Test ScatterWidget 2D#121

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
ruaridhg merged 1 commit intomatplotlib:mainfromruaridhg:ruaridhg/test_scatter
Jun 1, 2023

Conversation

ruaridhg
Copy link
Collaborator

@ruaridhgruaridhg commentedMay 18, 2023
edited
Loading

Towards#94

  • test_scatter.py: Added astronaut image and an inverted *-1 astronaut image to the viewer and made sure both image layers were selected before calling the ScatterWidget
  • test_scatter.png added
  • scatter.py: Addedinit to ScatterWidget class to allow self.updates_layers(None) to add the selected layers (shouldn't have an effect on other parts of the code?)

For ScatterWidget 2D only (still to test 3D data and FeaturesScatterWidget)
Fixes#129

@ruaridhgruaridhg requested review fromdstansby and removed request fordstansbyMay 18, 2023 11:20
@ruaridhgruaridhg marked this pull request as draftMay 18, 2023 11:33
@ruaridhgruaridhg changed the titleTest scatter 2D exampleTest ScatterWidget 2DMay 18, 2023
@ruaridhgruaridhg marked this pull request as ready for reviewMay 18, 2023 13:19
@ruaridhgruaridhgforce-pushed theruaridhg/test_scatter branch froma28bdca to42f9c65CompareMay 19, 2023 13:45
@ruaridhgruaridhgforce-pushed theruaridhg/test_scatter branch 2 times, most recently from227a33a to1f50130CompareMay 30, 2023 10:09
@dstansby
Copy link
Member

It looks like you're tackling two different tests in this PR (scatter and features scatter)? Iis one of them working and one of them not? If one of them is working, I'd suggest putting that in a separate PR that we can merge straight away. Then we can keep moving, and it will make this PR easier to debug as it will only be concerned with one test.

@ruaridhg
Copy link
CollaboratorAuthor

It looks like you're tackling two different tests in this PR (scatter and features scatter)? Iis one of them working and one of them not? If one of them is working, I'd suggest putting that in a separate PR that we can merge straight away. Then we can keep moving, and it will make this PR easier to debug as it will only be concerned with one test.

Neither of them currently work, although features scatter at least can plot something (even if what it is plotting is inconsisent). I agree that they should be separate PRs so I will try to untangle them

@ruaridhgruaridhgforce-pushed theruaridhg/test_scatter branch from29e6e9b to8068559CompareMay 31, 2023 14:30
@ruaridhg
Copy link
CollaboratorAuthor

#137 solved inconsistent ordering problem. Partially addresses#129 with other behaviour perhaps desired

@ruaridhgruaridhg requested a review fromdstansbyMay 31, 2023 14:54
Copy link
Member

@dstansbydstansby left a comment

Choose a reason for hiding this comment

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

Looks 👍 overall, but we want to keep the number of layers features scatter takes as input (1), and plot two different features stored on that one layer against each other.

@ruaridhgruaridhg requested a review fromdstansbyJune 1, 2023 10:59
@ruaridhgruaridhgforce-pushed theruaridhg/test_scatter branch 2 times, most recently from3cebb0c tod63a0a8CompareJune 1, 2023 13:19
@ruaridhgruaridhgenabled auto-mergeJune 1, 2023 13:49
@ruaridhgruaridhg requested a review fromdstansbyJune 1, 2023 15:20
@ruaridhg
Copy link
CollaboratorAuthor

Made the suggested changes including reverting back the tox.ini so just requested a re-review as merging is blocked

Copy link
Member

@dstansbydstansby left a comment
edited
Loading

Choose a reason for hiding this comment

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

I think there's still code that can be removed here (see my suggestions)?

@ruaridhg
Copy link
CollaboratorAuthor

I think there's still code that can be removed here (see my suggestions)?

Ah yes, got rid of the image layer now and tidying up of remaining comments

@dstansbydstansbydisabled auto-mergeJune 1, 2023 15:31
@dstansby
Copy link
Member

One final request (sorry!), could you squash this all into one commit so we don't add any more test figures changes than we need to in the commit history when it's merged into main?

@ruaridhgruaridhgforce-pushed theruaridhg/test_scatter branch froma0758ec to162d9dcCompareJune 1, 2023 15:47
@ruaridhgruaridhgenabled auto-mergeJune 1, 2023 16:01
@ruaridhgruaridhg requested a review fromdstansbyJune 1, 2023 16:14
@ruaridhg
Copy link
CollaboratorAuthor

1 last approval hopefully!

@ruaridhgruaridhg added this pull request to the merge queueJun 1, 2023
@dstansby
Copy link
Member

:shipit:

samcunliffe and ruaridhg reacted with rocket emoji

Merged via the queue intomatplotlib:main with commit76dd23bJun 1, 2023
@ruaridhgruaridhg deleted the ruaridhg/test_scatter branchJune 2, 2023 08:28
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@dstansbydstansbydstansby approved these changes

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

Successfully merging this pull request may close these issues.

Fix features_scatter_widget unpredictable behaviour
2 participants
@ruaridhg@dstansby

[8]ページ先頭

©2009-2025 Movatter.jp