The plot class is not working. It shows an error that "Error: Continuous value supplied to discrete scale".