Skip to content

Commit ef82c93

Browse files
author
“mahdis-z”
committed
minor revision
1 parent cf5bfa0 commit ef82c93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/python/shapes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ import plotly.graph_objects as go
645645
from plotly.subplots import make_subplots
646646

647647
# Create Subplots
648-
fig = make_subplots(rows=2, cols=2, start_cell='bottom-left')
648+
fig = make_subplots(rows=2, cols=2)
649649

650650
fig.add_trace(go.Scatter(x=[2, 6], y=[1,1]), row=1, col=1)
651651
fig.add_trace(go.Bar(x=[1,2,3], y=[4,5,6]), row=1, col=2)
@@ -656,7 +656,7 @@ fig.add_trace(go.Bar(x=[11,13,15], y=[8,11,20]), row=2, col=2)
656656
fig.update_layout(
657657
shapes=[
658658
dict(type="line", xref="x1", yref="y1",
659-
x0=3, y0=0.5, x1=5, y1=0.8),
659+
x0=3, y0=0.5, x1=5, y1=0.8, line_width=3),
660660
dict(type="rect", xref="x2", yref='y2',
661661
x0=4, y0=2, x1=5, y1=6),
662662
dict(type="rect", xref="x3", yref="y3",

0 commit comments

Comments
 (0)