# Issues with Julia Plotly

**URL:** <https://community.plotly.com/t/issues-with-julia-plotly/8597>\
**Category:** 📊 Plotly Python\
**Created:** [February 26, 2018, 3:22am UTC](https://community.plotly.com/t/issues-with-julia-plotly/8597 "2018-02-26T03:22:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![max\_zara](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@max\_zara](https://community.plotly.com/u/max_zara)\
**Post date:** [February 26, 2018, 3:22am UTC](https://community.plotly.com/t/issues-with-julia-plotly/8597/1 "2018-02-26T03:22:28Z")

</div>

I am trying to run the most basic code listed in the guides on Julia, and I get the error:

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”]
