# Markershape not working with pluto.jl and plotly backend

**URL:** https://discourse.julialang.org/t/markershape-not-working-with-pluto-jl-and-plotly-backend/102585
**Category:** New to Julia
**Tags:** question, plotting, bug, pluto, plotlyjs
**Created:** [August 8, 2023, 3:31am UTC](https://discourse.julialang.org/t/markershape-not-working-with-pluto-jl-and-plotly-backend/102585 "2023-08-08T03:31:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![JacobC](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jacobc/32/51809_2.png) [@JacobC](https://discourse.julialang.org/u/JacobC)
#### Post date: [August 8, 2023, 3:31am UTC](https://discourse.julialang.org/t/markershape-not-working-with-pluto-jl-and-plotly-backend/102585/1 "2023-08-08T03:31:23Z")

</div>

I am using the plotly() backend for plots in pluto.jl and for some reason cannot change the marker shape, I am wondering if I am misunderstanding or calling it wrong, but I haven’t found a solution after a decent amount of googling.

```julia
#MWE
#Since it is in pluto I will just label the cells

#Cell 1
using Plots

#Cell 2
plotly()

#Cell 3
begin
	rando1 = rand(10) .* 10
	rando2 = rand(10) .* 10
	plot(rando1,rando2,mc=:red,lc=:red, marker=true)
	plot!(rando2,rando1,mc=:green,lc=:green,marker=true,markershape=:x)
end

```

The colors update etc, but I cannot get the markershape to change, even if I define it on the first plot call as well. I don’t know if it affects anything, but I have several plots in several different cells. I wondered if the plot!() call was maybe updating a more current plot in a different cell, but the marker shape doesn’t seem to be changing anywhere.

Any help would be much appreciated!  
Thanks,  
Jacob

---

<div class="post-metadata">

### Author: ![JacobC](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jacobc/32/51809_2.png) [@JacobC](https://discourse.julialang.org/u/JacobC)
#### Post date: [August 8, 2023, 2:52pm UTC](https://discourse.julialang.org/t/markershape-not-working-with-pluto-jl-and-plotly-backend/102585/2 "2023-08-08T14:52:09Z")

</div>

I figured it out! It has something to do with using plot() instead of scatter(). Changing everything to scatter() and mode=:“marker” worked!

```julia
#Cell 1
using Plots

#Cell 2
plotly()

#Cell 3
#MWE
begin
	rando1 = rand(10) .* 10
	rando2 = rand(10) .* 10
	scatter(rando1,rando2,mc=:red,lc=:red, mode=:"marker",title="Figured it out! :)")
	scatter!(rando2,rando1,mc=:green,lc=:green,mode=:"marker",markershape=:x)
end

```
