My data set is a list with 6 numbers: [23948.30, 23946.20, 23961.20, 23971.70, 23956.30, 23987.30]
I want them to be in a horizontal box plot, line on the x axis, with 23855 and 24472 as the limit of the x axis, so the box plot will be in the middle of the line. If this can not be done, at least showing the x axis under it, and very close to the box plot.
I also want the box plot to show the mean number.
Now I can only get the horizontal box plot, and I also want the x-axis show the whole number instead of "xx+2.394e".
Here is my code now:
def box_plot(circ_list, wear_limit):
print circ_list
print wear_limit
fig1 = plt.figure()
plt.boxplot(circ_list, 0, 'rs', 0)
plt.show()