I have see this topic (How to change the color of a vector layer in pyQGIS?) but I'm looking for get the color not to change.

How I can resolve my problem ?

  • 1
    Would you be able to edit your Question to provide more details about what you are trying to do, please? – PolyGeo Feb 18 '14 at 9:50
  • It's ok, I have solve my problem with : layer.rendererV2().symbol().color() – user2998243 Feb 18 '14 at 9:53
  • 5
    You could still improve your question and post your own answer. You came here looking for help and so are other people. – tobias47n9e Feb 18 '14 at 13:16

Browse other questions tagged or ask your own question.