Skip to content

Commit

Permalink
in agreement with ch01
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldorman committed Oct 5, 2024
1 parent 9a830b0 commit e21fdf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 08-mapping.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ One more modification we are doing here is hiding the axis ticks and labels, to

```{python}
#| label: fig-faceted-map2
#| fig-cap: 2D layout in a faceted map, using a `for` loop
#| fig-cap: Two-dimensional layout in a faceted map, using a `for` loop
fig, ax = plt.subplots(nrows=int(len(vars)/2), ncols=2, figsize=(6, 6))
ax = ax.flatten()
for i in range(len(vars)):
Expand All @@ -493,7 +493,7 @@ For example, here is a plot similar to @fig-faceted-map2, but specifying each pa

```{python}
#| label: fig-faceted-map3
#| fig-cap: 2D layout in a faceted map, using 'manual' specification of the panels
#| fig-cap: Two-dimensional layout in a faceted map, using 'manual' specification of the panels
fig, ax = plt.subplots(ncols=2, nrows=int(len(vars)/2), figsize=(6, 6))
nz.plot(ax=ax[0][0], column=vars[0], legend=True)
ax[0][0].set_title(vars[0])
Expand Down

0 comments on commit e21fdf4

Please sign in to comment.