cdelker/schemdraw

Invalid escape sequence in `intcircuits.py`

johnthagen opened this issue · 0 comments

When I import from schemdraw, I get the following error:

    from schemdraw import Drawing, ImageFormat
TUB9piUY-py3.10/lib/python3.10/site-packages/schemdraw/__init__.py:1: in <module>
    from .schemdraw import Drawing, use, config, theme
TUB9piUY-py3.10/lib/python3.10/site-packages/schemdraw/schemdraw.py:11: in <module>
    from .elements import Element
TUB9piUY-py3.10/lib/python3.10/site-packages/schemdraw/elements/__init__.py:22: in <module>
    from .intcircuits import (IcPin, Ic, Multiplexer, IcDIP, VoltageRegulator, DFlipFlop, JKFlipFlop, Ic555,
E     File "TUB9piUY-py3.10/lib/python3.10/site-packages/schemdraw/elements/intcircuits.py", line 430
E       IcPin('$\overline{Q}$', side='right', slot='1/2', anchorname='Qbar')]
E             ^^^^^^^^^^^^^^^^
E   SyntaxError: invalid escape sequence '\o'

IcPin('$\overline{Q}$', side='right', slot='1/2', anchorname='Qbar')]

Should this be a raw string (r'') instead?

List of valid escape sequences: