Make Plotbox a Module
This commit is contained in:
1
src/plotbox/__init__.py
Normal file
1
src/plotbox/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from .plotbox import main
|
||||
4
src/plotbox/__main__.py
Normal file
4
src/plotbox/__main__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from .plotbox import main()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -87,7 +87,4 @@ def main():
|
||||
|
||||
do_plot(None)
|
||||
|
||||
plt.show()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
plt.show()
|
||||
Reference in New Issue
Block a user