There are inconsistent display issues when using `pyqasm.draw()` and `pyqasm.printer.mpl_draw()` in Jupyter notebooks: **`pyqasm.draw()` behavior**: - The circuit diagram displays correctly the first time it’s called. - Subsequent calls produce no diagram output. - Restarting the kernel resets this behavior — it works once and then fails on following calls. https://github.com/user-attachments/assets/68e7c33b-3f44-4adc-b050-3812d81efb63 **`pyqasm.printer.mpl_draw()` behavior**: - The circuit diagram displays twice on the first call. - Subsequent calls show the diagram only once, as expected. - After restarting the kernel, the double-display issue repeats on the first call. https://github.com/user-attachments/assets/f4f0df77-ff67-4b36-bad5-a7c0c6bf4da0
There are inconsistent display issues when using
pyqasm.draw()andpyqasm.printer.mpl_draw()in Jupyter notebooks:pyqasm.draw()behavior:draw-bug.mov
pyqasm.printer.mpl_draw()behavior:mpl_draw_bug.mov