Python plot

Hello there,

 

I am new to Knime. I installed community nodes Python scripting and I am trying a very simple Python plot and I am having issues with it.

I am not sure how to configure the Python plot node. The default is plot(kIn) but it did not work.

 

I also tried instead some Python instructions:

import matplotlib.pyplot as plt

plt.plot(kIn)

plt.show()

 

but it did not work better.

 

I select in Output Options a png image to overwrite but it tells me anyway “no output image found”.

 

Could you please help me with that.

Thanks,

Anne

Hello Anne,

 

There is pulic workflow nammed 09904001_PythonScripting which may be useful in your case.

 

Hope this is helpful.

Nico