merge series extra_kwargs for plotly_series (#4172)

This commit is contained in:
Stephan Antholzer
2022-04-22 11:12:55 +02:00
committed by GitHub
parent add8364bbd
commit e3e86aa6cd
2 changed files with 10 additions and 2 deletions
+6
View File
@@ -55,4 +55,10 @@ using Plots, Test
end
end
end
@testset "Extra kwargs" begin
pl = plot(1:5, test = "me")
@test Plots.plotly_series(pl)[1][:test] == "me"
pl = plot(1:5, test = "me", extra_kwargs = :plot)
@test Plots.plotly_layout(pl)[:test] == "me"
end
end