Showing results for 
Search instead for 
Do you mean 

[Python] Call another script


In my app I am trying to call another python script by clicking on a button.

The "click and call" works, but if I call a script which displays a curve with matplotlib, it doesn't work (the script works fine if I call it outside from AMESim)


plt.plotfile(data, delimiter=' ', cols=(0, 1),
             names=('col1', 'col2'), marker='o')


I get the error:

[Python] IndexError: list index out of range


Any Idea?

Thank you for any tip