# Plots -- new syntax for marker stroke color?

**URL:** <https://discourse.julialang.org/t/plots-new-syntax-for-marker-stroke-color/70552>\
**Category:** Visualization\
**Tags:** pyplot, plots\
**Created:** [October 28, 2021, 1:24pm UTC](https://discourse.julialang.org/t/plots-new-syntax-for-marker-stroke-color/70552 "2021-10-28T13:24:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BLI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bli/32/37206_2.png) [@BLI](https://discourse.julialang.org/u/BLI)\
**Post date:** [October 28, 2021, 1:24pm UTC](https://discourse.julialang.org/t/plots-new-syntax-for-marker-stroke-color/70552/1 "2021-10-28T13:24:18Z")

</div>

I want to set the `markerstrokecolor` equal to the `markercolor` to make the label nice

```julia
scatter!(.., mc=colTs,msc=colTs,...)

```

– I’ve done so in this figure:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/d/a/da8704e23d23631ba3b587cf0a986864531a4d81.png)

If I don’t specify the `markerstrokecolor` and set it equal to the `markercolor`, the crosses appear in black color in the label box.

After I upgraded `pyplot` on my computer, `Plots` does what I want (see figure above), but I get a _warning_…

```julia
sys:1: UserWarning: You passed a edgecolor/edgecolors ((0.7411764705882353, 0.7176470588235294, 0.4196078431372549, 1.0)) for an unfilled marker ('x'). Matplotlib is ignoring the edgecolor in favor of the facecolor. This behavior may change in the future.

```

_Question_: How should I change my `plot` specification to avoid this _message_, and have a more future proof code?

---

<div class="post-metadata">

**Author:** ![kaslusimoes](https://avatars.discourse-cdn.com/v4/letter/k/b19c9b/32.png) [@kaslusimoes](https://discourse.julialang.org/u/kaslusimoes)\
**Post date:** [February 9, 2022, 1:15pm UTC](https://discourse.julialang.org/t/plots-new-syntax-for-marker-stroke-color/70552/2 "2022-02-09T13:15:04Z")

</div>

Hi @BLI, I started having these warnings too. Any chance you figured out where they come from?

---

<div class="post-metadata">

**Author:** ![isentropic](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/isentropic/32/11894_2.png) [@isentropic](https://discourse.julialang.org/u/isentropic)\
**Post date:** [February 28, 2022, 10:44am UTC](https://discourse.julialang.org/t/plots-new-syntax-for-marker-stroke-color/70552/3 "2022-02-28T10:44:46Z")

</div>

I can confirm these too, please open an issue with pyplot label in Plots.jl github
