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

Fix Labels object has no attribute rgb error#315

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
samcunliffe merged 1 commit intomatplotlib:mainfromK-Meech:km/labels-error
Oct 30, 2025

Conversation

@K-Meech
Copy link
Contributor

Closes#313

Showing a HistogramWidget, then selecting an invalid layer type (e.g. Labels / Points / Shape...) was throwingobject has no attribute rgb error. This was due to the bin number reset happening on every new layer selection (rather than just the valid ones).

This small fix should ensure this only happens forImage layers. I also added a corresponding test.

samcunliffe reacted with hooray emoji
@samcunliffe
Copy link
Collaborator

Warrants a new bugfix release.

@samcunliffesamcunliffe added the BugSomething isn't working labelOct 29, 2025
@samcunliffesamcunliffe merged commita922dd6 intomatplotlib:mainOct 30, 2025
13 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@samcunliffesamcunliffesamcunliffe approved these changes

Assignees

@K-MeechK-Meech

Labels

BugSomething isn't working

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Labels object has no attribute rgb error

2 participants

@K-Meech@samcunliffe

[8]ページ先頭

©2009-2025 Movatter.jp