Skip to content

Commit 6f2db21

Browse files
committed
Update text-and-annotations.md
1 parent c5cff44 commit 6f2db21

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/python/text-and-annotations.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ fig.update_layout(showlegend=False)
207207
fig.show()
208208
```
209209

210-
#### Text Annotations with Log Axis Type
210+
#### Text Annotations with Log Axes
211211

212-
If the `x` or `y` positions of an annotation reference a log axis, you need to provide that position as a `log10` value when adding the annotation. In this example, the yaxis is a log axis so we pass the `log10` value of `1000` to the annotation's `y` position.
212+
If the `x` or `y` positions of an annotation reference a log axis, you need to provide that position as a `log10` value when adding the annotation. In this example, the `yaxis` is a log axis so we pass the `log10` value of `1000` to the annotation's `y` position.
213213

214214
```python
215215
import plotly.graph_objects as go
@@ -243,7 +243,6 @@ fig.add_annotation(
243243
)
244244

245245
fig.show()
246-
247246
```
248247

249248
### 3D Annotations

0 commit comments

Comments
 (0)