added pyroot plotting implementation