PeterRochford / SkillMetrics

A Python library for calculating and displaying the skill of model predictions against observations.
GNU General Public License v3.0
201 stars 92 forks source link

Change colours of markerlegend='on' #13

Closed SAlbertema closed 1 year ago

SAlbertema commented 5 years ago

L.S.,

When markerlegend='on' in sm.taylor_diagram(), by default the markers get a blue, red and green colour. How do I modify these colours?

Secondly, it seems like that markerlegend also sorts the constructed Taylor points. In my case it is sorted for dh: 1000, dh: 250 and dh: 500 which is fine, however:

I hopy anybody can help me with these two items.

PeterRochford commented 1 year ago

I have added a 'markers" option to the SkillMetrics package in version 1.2.2 that I hope to release soon. This allows the user to individually control of the marker label, label color, symbol, size, face color, and edge color via specifications given via a dictionary. Refer to the examples Target 11 and Taylor 15.

I believe that I've also already addressed the markerlegend sort issue. Let me know if otherwise.

PeterRochford commented 1 year ago

SkillMetrics 1.2.2 is now available.