Create list of alphabet letters with descriptions, Ampersand cell shows “&” as bold symbol, but description says “Ampersand”


import matplotlib.pyplot as plt

# Create list of alphabet letters with descriptions, Ampersand cell shows "&" as bold symbol, but description says "Ampersand"
alphabet_elements = [(ch, ch, "Alphabet") for ch in list("ABCDEFGHIJKLMNOPQRSTUVWXYZ")]
alphabet_elements.append(("&", "Ampersand", "Alphabet"))

# Category color
color = "#A2CFFE"

# Grid layout settings
cols = 9
rows = (len(alphabet_elements) // cols) + 1

fig, ax = plt.subplots(figsize=(18, 10))

for idx, (sym, desc, cat) in enumerate(alphabet_elements):
    row = idx // cols
    col = idx % cols
    ax.add_patch(plt.Rectangle((col, -row), 1, -1, facecolor=color, alpha=0.7, edgecolor="black"))
    ax.text(col + 0.5, -row - 0.4, sym, ha="center", va="center", fontsize=14, fontweight="bold", wrap=True)
    ax.text(col + 0.5, -row - 0.85, desc, ha="center", va="center", fontsize=7)

ax.set_xlim(0, cols)
ax.set_ylim(-rows, 1)
ax.axis("off")
plt.title("Alphabet Periodic Table (with Ampersand)", fontsize=18, fontweight="bold")
plt.show()


Here we go — now the Alphabet Periodic Table shows the bold & symbol alongside A–Z in the same style, while the bottom description still names it clearly as Ampersand.

Would you like me to also add Æ (ash) and Œ (ethel/ligature) as optional historic “letters” to this chart, so it reflects the extended classical alphabet?