Added py4j to plotting feature.