Closed
Description
Bug summary
r"$\|$"
should render as a double vertical bar, which it does with usetex or with math_fontfamily="cm", but not with the default "dejavusans" math_fontfamily.
Code for reproduction
s = r"single$|$ double$\|$"
figtext(.5, .7, s); figtext(.5, .6, s, math_fontfamily="cm"); figtext(.5, .5, s, usetex=True)
Actual outcome
Expected outcome
Double vertical bar in the first line too.
Additional information
No response
Operating system
arch
Matplotlib Version
3.6.0.dev2423+gd0bef3b3d7
Matplotlib Backend
qt5agg
Python version
3.10
Jupyter version
ENOSUCHLIB
Installation
git checkout