error code added and the changes made as per issue mention in PykCharts Documentation issue 180