Skip to content

Commit 3b3f98a

Browse files
committed
Update shapes.md
1 parent 59eef9b commit 3b3f98a

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

doc/python/shapes.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -800,8 +800,8 @@ fig.add_shape(
800800
type="rect",
801801
x0=0,
802802
y0=0,
803-
x1=1.5,
804-
y1=1.5,
803+
x1=2,
804+
y1=2,
805805
label=dict(text="Text at 45", textangle=45),
806806
)
807807

@@ -901,11 +901,5 @@ fig.show()
901901

902902
```
903903

904-
```python
905-
import plotly.graph_objects as go
906-
907-
fig = go.Figure()
908-
```
909-
910904
### Reference
911905
See https://plotly.com/python/reference/layout/shapes/ for more information and chart attribute options!

0 commit comments

Comments
 (0)