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

ENH: Improved color Manipulation tools #9995

Open
@jklymak

Description

@jklymak

Feature suggestion

In#9985 a small utility was proposed to brighten or darken a matplotlib color. The utility converted to RGB, to HLS, manipulated the L (lightness) channel, and converted back to RGB.

There was general disagreement about how exactly to do the brightening, (fractional: L*(1+frac), absolute: L + dL, or simply specifying L), the lack of argb_to_hls converter was lamented (to mirror thergb_to_hsv converter, and it was suggested that a color class that simply had methods to change channels in the various color spaces would be the better approach.

Writing such a class was beyond the scope proposed in#9985, hence this issue for discussion. I'd imagine such acolor class would require a MEP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp