Skip to content

Commit 3fdb92c

Browse files
authored
Grammar
1 parent 403c88e commit 3fdb92c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lessons/11_plotting_basics.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ You can also customize themes further with `rc_params` when you want to adjust s
229229

230230
The axis labels and tick labels don't get any larger by changing themes. We can, however, change both the x-axis labels and size labels with the `plt.xlabel()` functions from `matplotlib`. Since we will be adding this layer “on top” of, or after, `sns.set_style()`, any features we change will override what is set by the `sns.set_style()` layer.
231231

232-
Let’s increase the size of the x-axis titles to be 20.
232+
Let’s increase the size of the x-axis title to be 20.
233233

234234
```{python}
235235
#| label: fig-change_axis_label_size
@@ -314,7 +314,7 @@ plt.savefig(fname = "figures/scatterplot_dpi.png",
314314

315315
:::{.callout-tip}
316316
# [**Exercise 1**](11_plotting_basics-Answer_key.qmd#exercise-1)
317-
1. Add an `plt.ylabel()` layers to the current plot such that the y-axis is labeled "Mean expression".
317+
1. Add a `plt.ylabel()` layer to the current plot such that the y-axis is labeled "Mean expression".
318318

319319
2. Use the `plt.title()` layer to add a plot title of your choice.
320320

0 commit comments

Comments
 (0)