# Issues with initial Plotly calls (from website guide)

**URL:** <https://discourse.julialang.org/t/issues-with-initial-plotly-calls-from-website-guide/9338>\
**Category:** New to Julia\
**Created:** [February 26, 2018, 12:55pm UTC](https://discourse.julialang.org/t/issues-with-initial-plotly-calls-from-website-guide/9338 "2018-02-26T12:55:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max-Zara](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/max-zara/32/3393_2.png) [@Max-Zara](https://discourse.julialang.org/u/Max-Zara)\
**Post date:** [February 26, 2018, 12:55pm UTC](https://discourse.julialang.org/t/issues-with-initial-plotly-calls-from-website-guide/9338/1 "2018-02-26T12:55:05Z")

</div>

I am trying to replicate the Plotting given on the Plotly guide - [Log plots in Julia](https://plot.ly/julia/log-plot/) but I keep getting errors:

MethodError: Cannot convert an object of type Array{Array{Pair{String,Any},1},1} to an object of type PlotlyBase.Plot  
This may have arisen from a call to the constructor PlotlyBase.Plot(…),  
since type constructors fall back to convert methods.  
in plot at PlotlyJS\src\display.jl:66  
in #plot#1 at PlotlyJS\src\display.jl:66  
in PlotlyBase.Plot at bas

How can this be fixed? Thank you in advance!

trace1 = [  
“x” =\> [1, 2, 3, 4],  
“y” =\> [10, 15, 13, 17],  
“type” =\> “scatter”  
]  
trace2 = [  
“x” =\> [1, 2, 3, 4],  
“y” =\> [16, 5, 11, 9],  
“type” =\> “scatter”  
]

response = Plotly.plot([trace1, trace2], [“filename” =\> “basic-line”, “fileopt” =\> “overwrite”])  
plot\_url = response[“url”]

---

<div class="post-metadata">

**Author:** ![iwelch](https://avatars.discourse-cdn.com/v4/letter/i/8c91f0/32.png) [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Post date:** [March 17, 2018, 5:28pm UTC](https://discourse.julialang.org/t/issues-with-initial-plotly-calls-from-website-guide/9338/2 "2018-03-17T17:28:42Z")

</div>

I just tried a few examples from this site, too. I think all the examples on the website are broken.
