cdelker / schemdraw

MIT License
103 stars 20 forks source link

No input/output labels when using logicparse #7

Closed paulvicioso closed 1 year ago

paulvicioso commented 1 year ago

When using logicparse to generate a scheme the labels for the inputs/outputs are not showing in the final image. The code I have is as follows:

from schemdraw.parsing import logicparse circuit = logicparse('not ((w and x) or (y and z))', outlabel='$\overline{Q}$') circuit.draw()

This code generates the correct scheme but no labels whatsoever. At this point I'm not sure if this is an issue with my implementation.

The configuration of my machine is as follows:

Notes:

Thanks for your support.

cdelker commented 1 year ago

I believe I fixed this issue a couple weeks ago with 6871429.

paulvicioso commented 1 year ago

Yes you did, I have just used your code for v0.17 and now everything works great.

Thank you

cdelker commented 1 year ago

Thanks. 0.17 is now released on PyPi.