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'
When I import from
schemdraw
, I get the following error:https://github.com/cdelker/schemdraw/blob/6c17a50e5a4454346de8a5f20907bff67c0996d9/schemdraw/elements/intcircuits.py#L430
Should this be a raw string (
r''
) instead?List of valid escape sequences: