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

Curves, line & axis parameter editor has poor support for colors #4410

Closed
@anntzer

Description

@anntzer
In [1]: plot([1, 2], color=(.75, .25, .25)) # <- normal reddish color

Select the parameter editor (green tick) and directly click ok. The line becomes black. In fact, if you check the Curves panel, the color editor gives#000000 as color. A quick look atformlayout.py shows thatto_qcolor simply casts thecolor attribute to a string (so"(0.75, 0.25, 0.25)" in our case) and parses it as hex, giving up and returning black if it doesn't look like a hex RGB.

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