Skip to content

Commit 6f7d99e

Browse files
committed
fix links
1 parent 01eb4bd commit 6f7d99e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Diff for: doc/python/multiple-axes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ fig.show()
357357

358358
*New in 5.13*
359359

360-
With overlayed axes, each axis by default has its own number of ticks. You can sync the number of ticks on a cartesian axis with another one it overlays by setting `tickmode="sync"`. In this example, we sync the ticks on the `"Total bill amount"` axis with the `"Total number of diners"` axis that it overlays.
360+
With overlayed axes, each axis by default has its own number of ticks. You can sync the number of ticks on a cartesian axis with another one it overlays by setting `tickmode="sync"`. In this example, we sync the ticks on the `"Total bill amount"` axis with the `"Total number of diners"` axis that it overlays.
361361

362362
```python
363363
import plotly.graph_objects as go
@@ -415,4 +415,4 @@ fig.show()
415415
```
416416

417417
#### Reference
418-
All of the y-axis properties are found here: https://plotly.com/python/reference/YAxis/. For more information on creating subplots see the [Subplots in Python](/python/subplots/) section.
418+
All of the y-axis properties are found here: https://plotly.com/python/reference/layout/yaxis/. For more information on creating subplots see the [Subplots in Python](/python/subplots/) section.

Diff for: doc/python/subplots.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -619,8 +619,8 @@ fig = make_subplots(2, 3, horizontal_spacing=0.1)
619619
```
620620

621621
#### Reference
622-
All of the x-axis properties are found here: https://plotly.com/python/reference/XAxis/
623-
All of the y-axis properties are found here: https://plotly.com/python/reference/YAxis/
622+
All of the x-axis properties are found here: https://plotly.com/python/reference/layout/xaxis/
623+
All of the y-axis properties are found here: https://plotly.com/python/reference/layout/yaxis/
624624

625625
```python
626626
from plotly.subplots import make_subplots

Diff for: doc/python/text-and-annotations.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ IFrame(snippet_url + 'text-and-annotations', width='100%', height=1200)
122122

123123
### Controlling Text Size with `uniformtext`
124124

125-
For the [pie](/python/pie-charts), [bar](/python/bar-charts)-like, [sunburst](/python/sunburst-charts) and [treemap](/python/treemap-charts) traces, it is possible to force all the text labels to have the same size thanks to the `uniformtext` layout parameter. The `minsize` attribute sets the font size, and the `mode` attribute sets what happens for labels which cannot fit with the desired fontsize: either `hide` them or `show` them with overflow.
125+
For the [pie](/python/pie-charts), [bar](/python/bar-charts)-like, [sunburst](/python/sunburst-charts) and [treemap](/python/treemaps) traces, it is possible to force all the text labels to have the same size thanks to the `uniformtext` layout parameter. The `minsize` attribute sets the font size, and the `mode` attribute sets what happens for labels which cannot fit with the desired fontsize: either `hide` them or `show` them with overflow.
126126

127127

128128
Here is a bar chart with the default behavior which will scale down text to fit.
@@ -131,7 +131,7 @@ Here is a bar chart with the default behavior which will scale down text to fit.
131131
import plotly.express as px
132132

133133
df = px.data.gapminder(year=2007)
134-
fig = px.bar(df, x='continent', y='pop', color="lifeExp", text='country',
134+
fig = px.bar(df, x='continent', y='pop', color="lifeExp", text='country',
135135
title="Default behavior: some text is tiny")
136136
fig.update_traces(textposition='inside')
137137
fig.show()
@@ -143,7 +143,7 @@ Here is the same figure with uniform text applied: the text for all bars is the
143143
import plotly.express as px
144144

145145
df = px.data.gapminder(year=2007)
146-
fig = px.bar(df, x='continent', y='pop', color="lifeExp", text='country',
146+
fig = px.bar(df, x='continent', y='pop', color="lifeExp", text='country',
147147
title="Uniform Text: min size is 8, hidden if can't fit")
148148
fig.update_traces(textposition='inside')
149149
fig.update_layout(uniformtext_minsize=8, uniformtext_mode='hide')
@@ -162,7 +162,7 @@ fig.show()
162162

163163
### Controlling Maximum Text Size
164164

165-
The `textfont_size` parameter of the the [pie](/python/pie-charts), [bar](/python/bar-charts)-like, [sunburst](/python/sunburst-charts) and [treemap](/python/treemap-charts) traces can be used to set the **maximum font size** used in the chart. Note that the `textfont` parameter sets the `insidetextfont` and `outsidetextfont` parameter, which can also be set independently.
165+
The `textfont_size` parameter of the the [pie](/python/pie-charts), [bar](/python/bar-charts)-like, [sunburst](/python/sunburst-charts) and [treemap](/python/treemaps) traces can be used to set the **maximum font size** used in the chart. Note that the `textfont` parameter sets the `insidetextfont` and `outsidetextfont` parameter, which can also be set independently.
166166

167167
```python
168168
import plotly.express as px

0 commit comments

Comments
 (0)