Skip to content

ImageView example: use levelMode="rgba"#2963

Merged
j9ac9k merged 1 commit intopyqtgraph:masterfrom
pijyoi:imv-rgba-ex
Mar 16, 2024
Merged

ImageView example: use levelMode="rgba"#2963
j9ac9k merged 1 commit intopyqtgraph:masterfrom
pijyoi:imv-rgba-ex

Conversation

@pijyoi
Copy link
Copy Markdown
Contributor

@pijyoi pijyoi commented Mar 15, 2024

Since #1611, the image data used in this example has been changed to RGB.
Using rgba mode is more appropriate here.

Setting a colormap has no effect on RGB images, so delete those lines too.

@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Mar 16, 2024

Thanks @pijyoi for keeping the examples up to date!

@j9ac9k j9ac9k merged commit ef35fc4 into pyqtgraph:master Mar 16, 2024
@pijyoi pijyoi deleted the imv-rgba-ex branch March 16, 2024 11:40
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