1 from site_cons.site_init import link_wtk_graph
6 # Get the passed in environment.
9 # TODO, autogen hist.hist and hist.note from hist.dat
11 wtk_graph = link_wtk_graph(env)
14 asyfile = '%s.asy' % fig # static .asy file
15 pyfig = fig.replace('-', '_')
16 data = '%s_data' % (pyfig)
18 if data in globals(): # generated data dependencies
19 asydata = globals()[data]
20 env.Asymptote([asyfile, wtk_graph] + asydata)
22 # Pass back the modified environment.