Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-koch committed Nov 13, 2023
1 parent d97cf96 commit 52ce7b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion zxlive/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ def handle_export_tikz_proof_action(self) -> bool:
if path is None:
show_error_msg("Export failed", "Invalid path")
return False
print(path)
with open(path, "w") as f:
f.write(proof_to_tikz(self.active_panel.proof_model))

Expand Down
6 changes: 0 additions & 6 deletions zxlive/tikz.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
from typing import Union

from PySide6.QtCore import QSettings
from pyzx.graph.graph_s import GraphS
from pyzx.tikz import TIKZ_BASE, _to_tikz

from zxlive.proof import ProofModel





def proof_to_tikz(proof: ProofModel) -> str:
settings = QSettings("zxlive", "zxlive")
vspace = settings.value("tikz/layout/vspace")
Expand Down

0 comments on commit 52ce7b4

Please sign in to comment.