I have a dataframe in a rather annoying structure that makes it hard for me to plot it accurately. The data looks like the following: Supplier Price Capacity A 2 100 B 2.25 125 C 2.5 150 D 3 160 E 4 1000 F 3.25 1000 Now what I would like to plot is an ascending supply curve that looks something like the below attached image. Please ignore the red lines. They are just to show how the steps work. I am quite bad with Python and from my understanding I think I need to somehow aggregate the supplies so that the cheapest amount is shown first in the most bottom left section of the curve and then the steps go upwards based on what price the next cheapest supplier can provide at and the length of the next step would then correspond to the capacity of that supplier. I hope I have made myself clear. I appreciate any help. Best Continue reading...