Make Plotbox a Module

This commit is contained in:
2026-02-20 11:05:04 +10:00
parent 6d7834786e
commit 08cf245b90
3 changed files with 6 additions and 4 deletions

1
src/plotbox/__init__.py Normal file
View File

@@ -0,0 +1 @@
from .plotbox import main

4
src/plotbox/__main__.py Normal file
View File

@@ -0,0 +1,4 @@
from .plotbox import main()
if __name__ == "__main__":
main()

View File

@@ -87,7 +87,4 @@ def main():
do_plot(None) do_plot(None)
plt.show() plt.show()
if __name__ == "__main__":
main()