I have the following code for a scatterplot, and the corresponding plot is shown below:
x = [\'C9-U2\', \'C10-U5\', \'C10-U5\', \'C11-U1\', \'C11-U1\'] y = [\'J\
Following 'ImportanceOfBeingErnest ', the code could be shorten to
# initial plot to set sorted axis label us = plt.plot(sorted(x),sorted(y)) [u.remove() for u in us] # now plot the real thing, sorting not required plt.scatter(x,y)