-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Edit figure parameters: TypeError: argument 1 has unexpected type 'list' #1690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I just discovered that this:
also raises the exact same traceback and error:
|
However, if I use
instead, I get the exact same plot, and no error when I click on the "edit curve line and axes parameters button" |
Confirmed with v1.2.x. I think this limitation has always been present. |
qt4_editor formlayout now works with colour tuples (fixes Issue #1690)
Closed by #2017. |
Thanks! That fixed the TypeError in both cases in the first post. But when I do this:
and then click on the "Edit curves line and axes parameter" button, the line and marker colours show up as my default black instead of grey, so the dialog isn't being updated properly. Hitting Apply or OK changes them to black, without me actually changing anything in the dialog. Not a big deal though. |
Using a tuple to designate a single colour in a plot command, like this:
and then clicking on the "Edit curves line and axes parameter" button raises this TypeError:
This is very related to #917.
The text was updated successfully, but these errors were encountered: