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

[Bug]: interpolation_stage="rgba" does not respect array-alpha #28382

Closed
@anntzer

Description

@anntzer

Bug summary

Passing interpolation_stage="rgba" to imshow() results in array-valued alphas being ignored.

Code for reproduction

frompylabimport*im=arange(9).reshape(3,3)alpha=linspace(0,1,9).reshape(3,3)subplot(121).imshow(im,alpha=alpha)# interpolation_stage="alpha"subplot(122).imshow(im,alpha=alpha,interpolation_stage="rgba")show()

Actual outcome

Figure_1

Expected outcome

Same image on left and right (interpolation_stage should not matter at all here.

Additional information

No response

Operating system

macos

Matplotlib Version

3.10.0.dev260+g7275ad95ff

Matplotlib Backend

qtagg

Python version

3.12

Jupyter version

no

Installation

git checkout

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp