Skip to content

Commit

Permalink
fix legend (#4342)
Browse files Browse the repository at this point in the history
  • Loading branch information
BeastyBlacksmith authored Sep 9, 2022
1 parent 1337d86 commit 16a33c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/plotly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function plotly_add_legend!(plotattributes_out::KW, sp::Subplot)
plotattributes_out[:showlegend] = sp[:legend_position] !== :none
legend_position = plotly_legend_pos(sp[:legend_position])
if sp[:legend_position] !== :none
plotattributes_out[:legend_position] = KW(
plotattributes_out[:legend] = KW(
:bgcolor => rgba_string(sp[:legend_background_color]),
:bordercolor => rgba_string(sp[:legend_foreground_color]),
:borderwidth => 1,
Expand Down

0 comments on commit 16a33c3

Please sign in to comment.