Skip to content

Commit f5e9cff

Browse files
authored
Merge pull request #26 from plotly/sl/syncplot-post-kwargs
pass kwargs through post(::SyncPlot)
2 parents 97e833c + 3281db2 commit f5e9cff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Plotly.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function Requests.post(l::AbstractLayout, meta_opts=Dict(); meta_kwargs...)
9191
parse_response(post(endpoint, data=data))
9292
end
9393

94-
post(p::PlotlyJS.SyncPlot) = post(p.plot)
94+
post(p::PlotlyJS.SyncPlot; kwargs...) = post(p.plot; kwargs...)
9595

9696
function style(style_opts, meta_opts=Dict(); meta_kwargs...)
9797
creds = get_credentials()

0 commit comments

Comments
 (0)