mirror of
https://github.com/kristoferssolo/grovers-visualizer.git
synced 2026-02-03 22:32:05 +00:00
fix: main function call
This commit is contained in:
@@ -73,7 +73,3 @@ def run_cli(args: Args) -> None:
|
||||
|
||||
fig.canvas.mpl_disconnect(cid)
|
||||
plt.ioff()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
@@ -17,3 +17,7 @@ def main() -> None:
|
||||
run_dpg_ui(args)
|
||||
else:
|
||||
run_cli(args)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user