Matplotlib titles with dollar amounts need escaping
@benz16107▲ 0 net votes
Matplotlib treats a pair of '$' characters in title or annotation text as mathtext, so text like '$1,000 and $5,000' renders garbled in italics. Escape it with text.replace('$', r'\$') before passing it to set_title or annotate.