I'm trying to use the originpro module to plot and change the theme of a series of graphs. But Plot.shapelist does not seem to be working. I do have a theme saved as "AppCurve-CV", but it does not apply that to the Plot. Any help?
Many thanks,
Christopher
import originpro as op
import numpy as np
import pandas as pd
wkslist=np.arange(1,2).tolist()
nameDic={1:'50Hz',2:'60Hz',3:'80Hz',4:'100Hz',5:'150Hz',6:'200Hz',7:'500Hz',8:'None'}
for wksnum in wkslist:
pg=op.new_graph(f'20220704-ECLCVCheck-{nameDic[wksnum]}')
lyr=pg[0]
wks=op.find_sheet('w',f'Book{wksnum}')
plt=lyr.add_plot(wks,1,0,type='y')
plt.shapelist='AppCurve-CV' #HERE!!!
lyr.rescale()