@@ -42,7 +42,7 @@ This page outlines the changes in Plotly.py version 6 and cases where you may ne
42
42
Versions of Jupyter Notebook earlier than version 7 are no longer supported. To upgrade to the latest Jupyter Notebook:
43
43
44
44
```
45
- pip install notebook -upgrade
45
+ pip install notebook -- upgrade
46
46
```
47
47
48
48
## Processing NumPy and Pandas Series
@@ -54,9 +54,12 @@ Plotly.py now takes advantage of recent changes in how Plotly.js handles typed a
54
54
55
55
The following attributes have been removed in Plotly.py 6.
56
56
57
- ### ` titlefont `
57
+ ### ` titlefont ` , ` titleoffset ` , and ` titleside `
58
58
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 ` :
60
63
61
64
``` python
62
65
import plotly.graph_objects as go
@@ -80,7 +83,8 @@ fig = go.Figure(data=[trace], layout=layout)
80
83
fig.show()
81
84
```
82
85
83
- Replace it with ` layout.title.font ` :
86
+ Updated to use ` layout.title.font ` :
87
+
84
88
85
89
``` python
86
90
import plotly.graph_objects as go
@@ -102,10 +106,6 @@ fig = go.Figure(data=[trace], layout=layout)
102
106
fig.show()
103
107
```
104
108
105
- ### ` titleoffset `
106
-
107
- ### ` titleside `
108
-
109
109
## Removed Traces
110
110
111
111
The following traces have been removed.
0 commit comments