I want to use a list entry consisting of appearance commands in matplotlib for convenient editing of the line color and type. But when I run the following code I get 2 error