# Scatter pyplot option: vector of value for colors, one for each point

**URL:** <https://discourse.julialang.org/t/scatter-pyplot-option-vector-of-value-for-colors-one-for-each-point/41211>\
**Category:** General Usage\
**Created:** [June 11, 2020, 5:02pm UTC](https://discourse.julialang.org/t/scatter-pyplot-option-vector-of-value-for-colors-one-for-each-point/41211 "2020-06-11T17:02:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliauser](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@juliauser](https://discourse.julialang.org/u/juliauser)\
**Post date:** [June 11, 2020, 5:02pm UTC](https://discourse.julialang.org/t/scatter-pyplot-option-vector-of-value-for-colors-one-for-each-point/41211/1 "2020-06-11T17:02:28Z")

</div>

How can we feed a vector of values as color input into scatter plot using pyplot? I read one need to specify cmap, but I could find a clear example. My aim to having a vector of values, one per observation, that makes the dots in the scatter plots darker if the value is higher.
