Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Closed
Milestone
Description
In [1]: plot([1, 2], color=(.75, .25, .25)) # <- normal reddish colorSelect 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.