JuliaPlots / PlotlyJS.jl

Julia library for plotting with plotly.js
Other
418 stars 77 forks source link

What happened to the options in 0.16? #390

Closed PetrKryslUCSD closed 3 years ago

PetrKryslUCSD commented 3 years ago

I used to produce plots as:

pl = plot(plots, layout; options=Dict(:plotlyServerURL=>"https://chart-studio.plotly.com", :showSendToCloud=>true, :showLink => true))

Version 0.16 does not accept options any more. How do I supply these selections?

PetrKryslUCSD commented 3 years ago

Treatment of options: this example from the docs does not work w/ PlotlyJS 0.16:

plot(rand(10, 4), options=Dict(:staticPlot => true))

Works fine with 0.15.

PetrKryslUCSD commented 3 years ago

This looks like a solution: https://discourse.julialang.org/t/can-one-set-configuration-options-using-plotlyjs-jl/40357/4

PetrKryslUCSD commented 3 years ago

The documentation (syncplot.md) needs to be updated to reflect this change of API.

sglyon commented 3 years ago

Thank you for catching this!

sglyon commented 3 years ago

http://juliaplots.org/PlotlyJS.jl/dev/syncplots/#Display-configuration done!