Skip to content

Transparency, color mixing, gamma & linear color space ? #5949

Open
@gvinterhalter

Description

@gvinterhalter

Hello all.

This is my first time playing with matplotlib so I'm not sure if this is a feature or a bug but I needed to scatter a large number of points that are transparent. I need transparency so that I could observe the density of theses particles (I should probably make a 2D histogram... ). The problem I noticed is that if I increased the alpha of particles I would start to see black. The picture explains it.

problem

I believe the problem is the handling of colors internally. Is it all linear color space with correct gamma handling ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions