From 85e666b23f4bbf95df9bf27bed421d38f2ef60c7 Mon Sep 17 00:00:00 2001 From: Peter Norvig Date: Fri, 11 Sep 2026 07:42:01 -0700 Subject: [PATCH] Fix typos in xkcd-Name-Dominoes notebook --- ipynb/xkcd-Name-Dominoes.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipynb/xkcd-Name-Dominoes.ipynb b/ipynb/xkcd-Name-Dominoes.ipynb index bbfeed1..975955d 100644 --- a/ipynb/xkcd-Name-Dominoes.ipynb +++ b/ipynb/xkcd-Name-Dominoes.ipynb @@ -244,9 +244,9 @@ "\n", "I'll define `plot_board(board)` to plot each name in each tile and draw rectangles around them. I'll take care to make the font size appropriate for the length of each name, and I'll rotate the names according to the direction the tile is going in. The `fantasy` font is something like standard cartoon lettering.\n", "\n", - "The `(x, y)` coordinates are taken to be the **center** of a square; names are centered on `(x, y)`. But the box is drawn a half-unit to each side of the center. Actually, we want it to be a biot less than a half-unit, becuase we want the outlines of the tiles to not-quite touch. In `plot_rectangle_around` we use 0.47 instead of 0.5 for this reason.\n", + "The `(x, y)` coordinates are taken to be the **center** of a square; names are centered on `(x, y)`. But the box is drawn a half-unit to each side of the center. Actually, we want it to be a bit less than a half-unit, becuase we want the outlines of the tiles to not-quite touch. In `plot_rectangle_around` we use 0.47 instead of 0.5 for this reason.\n", "\n", - "One more trick: Randall has `\"Billy D. WIlliams\"` as a two-square name, not three, so I will write it as `\"Billy_D. Williams\"`, split that into two names, and only convert the `\"_\"` to a `\" \"` when plotting the text.\n" + "One more trick: Randall has `\"Billy D. Williams\"` as a two-square name, not three, so I will write it as `\"Billy_D. Williams\"`, split that into two names, and only convert the `\"_\"` to a `\" \"` when plotting the text.\n" ] }, {