We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59eef9b commit 3b3f98aCopy full SHA for 3b3f98a
doc/python/shapes.md
@@ -800,8 +800,8 @@ fig.add_shape(
800
type="rect",
801
x0=0,
802
y0=0,
803
- x1=1.5,
804
- y1=1.5,
+ x1=2,
+ y1=2,
805
label=dict(text="Text at 45", textangle=45),
806
)
807
@@ -901,11 +901,5 @@ fig.show()
901
902
```
903
904
-```python
905
-import plotly.graph_objects as go
906
-
907
-fig = go.Figure()
908
-```
909
910
### Reference
911
See https://plotly.com/python/reference/layout/shapes/ for more information and chart attribute options!
0 commit comments