Skip to content

Commit c788925

Browse files
authored
Merge pull request #1468 from plotly/ggplot-fixes
fixed!
2 parents bb046b7 + d984c7e commit c788925

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_posts/ggplot2/2019-07-30-geom_text.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ chart_link
9393
<iframe src="https://plot.ly/~RPlotBot/5780.embed" width="800" height="600" id="igraph" scrolling="no" seamless="seamless" frameBorder="0"> </iframe>
9494

9595
### Customed Colour and Size Scale
96-
Let's use the LaCroixColoR package to spruce up the colour scheme. In addition, by using scale_size_continuous, we can make sure that none of the text is too small.
96+
Let's use the LaCroixColoR package to spruce up the colour scheme. In addition, by using scale\_size\_continuous, we can make sure that none of the text is too small.
9797

9898

9999
```r
@@ -122,7 +122,7 @@ chart_link
122122
<iframe src="https://plot.ly/~RPlotBot/5782.embed" width="800" height="600" id="igraph" scrolling="no" seamless="seamless" frameBorder="0"> </iframe>
123123

124124
### Adding a regression
125-
Adding a regression line as well as a label. geom_smooth does not allow for adjusting the transparency of the line (using alpha), which is why stat_smooth is used here. annotate is used to include a single text label (geom_text would create one label for every data point, all overlapped with each other).
125+
Adding a regression line as well as a label. geom\_smooth does not allow for adjusting the transparency of the line (using alpha), which is why stat\_smooth is used here. annotate is used to include a single text label (geom\_text would create one label for every data point, all overlapped with each other).
126126

127127

128128
```r
@@ -157,7 +157,7 @@ chart_link
157157
<iframe src="https://plot.ly/~RPlotBot/5774.embed" width="800" height="600" id="igraph" scrolling="no" seamless="seamless" frameBorder="0"> </iframe>
158158

159159
### Customized Formatting
160-
Changed the font of the geom_text and of the graph (these must be done separately!), corrected the size label, centre-aligned the title.
160+
Changed the font of the geom\_text and of the graph (these must be done separately!), corrected the size label, centre-aligned the title.
161161

162162

163163
```r

0 commit comments

Comments
 (0)