-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathscripts.py
More file actions
45 lines (39 loc) · 1.29 KB
/
Copy pathscripts.py
File metadata and controls
45 lines (39 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
'''
This module is a small utility that is meant to be coded by the user
while interacting with the GUI. Currently these graphics require a lot
of attention and customization to make the visualization ideal, and
the GUI has been provided to make this easier. However, we don't have GUI
commands for every capability, so the three functions here can be called
interactively. The 'on_startup' function runs when the GUI launches, and
the other two are called using buttons. Every time they are called, they
get re-loaded, which is helpful for iterating to get the right design.
The three functions in there all take two arguments, one for the
ArtManager object and one for the DataManager object. The user then has
essentially full access to the functions that have coded to-date for
generating the graphic.
'''
def on_startup(artman, dataman):
'''
Often when us
:param artman:
:param dataman:
:return:
'''
print('Nothing currently set to run at startup.')
pass
def script_1(artman, dataman):
'''
Script is run when the user clicks 'run_script_1'
:param artman:
:param dataman:
:return:
'''
pass
def script_2(artman, dataman):
'''
Script is run when the user clicks 'run_script_2'
:param artman:
:param dataman:
:return:
'''
pass