Hi,
You mention that you are using a template. I assume that the template was made using the plot type you want, it is grouped, and you defined your desired color list in the template.
If so, this script will do what you want (you'll need to adapt):
gr = op.new_graph(template = 'group_template.otpu')
lay = gr[0]
lay.add_plot(wks, 1, 0, type = 230) # type is template-defined, color is template-defined
lay.add_plot(wks, 2, 0, type = 230)
lay.add_plot(wks, 3, 0, type = 230)
lay.obj.LT_execute('layer -g')
lay.rescale()
Thanks,
Chris Drozdowski
Originlab Technical Support