branflake2267 / GWT-Maps-V3-Api

GWT Maps V3 Javascript Bindings
Other
144 stars 113 forks source link

sdf.spatial.plot colors keep changing #245

Open anamariatp opened 4 years ago

anamariatp commented 4 years ago

I am using spatial.plot to show line data, based on 3 levels. However, the colors keep changing when I run the map. I tried with color and cmap with different color distributions, and nothing seems to work - any ideas?

Code: TPLines_audits_sdf.spatial.plot(map_widget=lines_by_audits_map, renderer_type='u',
col = 'audits_level', color = {'1 - low': 'green', '2 - medium': 'yellow', '3 - high': 'blue'} )

Chart: image

Thanks!