You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: episodes/07-visualization-ggplot-python.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -232,7 +232,7 @@ to the color aesthetic:
232
232
)
233
233
```
234
234
235
-
{alt='scatter plot of Hindfoot length vs weight with colors coordinating to specfic species, showing abundance in the mid to lower left side of the plot'}
235
+
{alt='scatter plot of Hindfoot length vs weight with colors coordinating to specific species, showing abundance in the mid to lower left side of the plot'}
236
236
237
237
Apart from the adaptations of the arguments and settings of the `data`, `aes`
238
238
and `geom-*` elements, additional elements can be added as well, using the `+`
@@ -248,7 +248,7 @@ operator:
248
248
)
249
249
```
250
250
251
-
{alt='scatter plot of Hindfoot length vs weight (g) with colors coordinating to specfic species, showing abundance in the mid to lower left side of the plot'}
251
+
{alt='scatter plot of Hindfoot length vs weight (g) with colors coordinating to specific species, showing abundance in the mid to lower left side of the plot'}
252
252
253
253
- Defining scale for colors, axes,... For example, a log-version of the x-axis
254
254
could support the interpretation of the lower numbers:
@@ -387,7 +387,7 @@ mapping of a variable, `plotnine` will handle the values as category values.
387
387
388
388
## Plotting time series data
389
389
390
-
Let's calculate number of counts per year for each species. To do that we need
390
+
Let's calculate the number of counts per year for each species. To do that we need
391
391
to group data first and count the species (`species_id`) within each group.
392
392
393
393
```python
@@ -567,7 +567,7 @@ following example of a bar plot with the counts per year.
567
567
)
568
568
```
569
569
570
-
{alt='Bar graph of count per year showing ovelapping x-axis labels'}
570
+
{alt='Bar graph of count per year showing overlapping x-axis labels'}
571
571
572
572
Notice that we use the `year` here as a categorical variable by using the
573
573
`factor` functionality. However, by doing so, we have the individual year
0 commit comments