Skip to content

Commit a72b693

Browse files
improved appearance
1 parent 335695c commit a72b693

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/python/text-and-annotations.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,8 @@ fig.update_layout(
811811
xanchor="right",
812812
x=1,
813813
814+
plot_bgcolor="white",
815+
814816
font=dict(size=12)),
815817
# We move the legend out of the right margin so the right-aligned note is
816818
# flush with the right most element of the graph.
@@ -820,7 +822,8 @@ fig.update_layout(
820822
yanchor="top",
821823
y=1,
822824
xanchor="right",
823-
x=1)
825+
x=1,
826+
borderwidth=1)
824827
)
825828
826829
# Repurpose an annotation to insert a title

0 commit comments

Comments
 (0)