Skip to content

Commit 229be09

Browse files
committed
update structure
1 parent ca4fa05 commit 229be09

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/python/v6-changes.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This page outlines the changes in Plotly.py version 6 and cases where you may ne
4242
Versions of Jupyter Notebook earlier than version 7 are no longer supported. To upgrade to the latest Jupyter Notebook:
4343

4444
```
45-
pip install notebook -upgrade
45+
pip install notebook --upgrade
4646
```
4747

4848
## Processing NumPy and Pandas Series
@@ -54,9 +54,12 @@ Plotly.py now takes advantage of recent changes in how Plotly.js handles typed a
5454

5555
The following attributes have been removed in Plotly.py 6.
5656

57-
### `titlefont`
57+
### `titlefont`, `titleoffset`, and `titleside`
5858

59-
The `titlefont` attribute, shown in the following example on `layout`, has been removed.
59+
The `titlefont`, `titleoffset`, and `titleside` attributes have been removed.
60+
Replace them with `title.font`, `title.side`, and `title.offset`.
61+
62+
Here's an example using `layout.tilefont`:
6063

6164
```python
6265
import plotly.graph_objects as go
@@ -80,7 +83,8 @@ fig = go.Figure(data=[trace], layout=layout)
8083
fig.show()
8184
```
8285

83-
Replace it with `layout.title.font`:
86+
Updated to use `layout.title.font`:
87+
8488

8589
```python
8690
import plotly.graph_objects as go
@@ -102,10 +106,6 @@ fig = go.Figure(data=[trace], layout=layout)
102106
fig.show()
103107
```
104108

105-
### `titleoffset`
106-
107-
### `titleside`
108-
109109
## Removed Traces
110110

111111
The following traces have been removed.

0 commit comments

Comments
 (0)