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

Appearance settings

Qt figure options colors in text fields #4600

Copy link
Copy link
Closed
@rmccampbell

Description

@rmccampbell
Issue body actions

If you assign any of the text fields in the figure options dialog to a "color-like" string, it changes into a color field the next time you open the dialog. This happens even in some not-so-obvious cases, like the letter 'y' (which you'd think you'd be able to use for a y axis label). This would be a little difficult to fix since the form dialog code is pretty complex, but a quick solution would be to only consider #ffffff style strings as colors, and add a helper function to convert the color properties to this format. a better solution would be to either wrap the color properties in an object, or add some kind of disambiguation parameter to the form parser (as an optional third entry in each tuple, i.e. "('Color', line.get_color(), 'color')").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.