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
    Commented Feb 18, 2014 at 9:50
  • It's ok, I have solve my problem with : layer.rendererV2().symbol().color() Commented Feb 18, 2014 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. Commented Feb 18, 2014 at 13:16


Browse other questions tagged or ask your own question.