Mark censoring times with a tick on the curve.
Shade the pointwise confidence band when lower/upper are present.
Draw the stratum legend, in a band above the panel. It takes the height the risk table and the curves leave it: the strata past the rows that fit are counted in a "+N more" note, and a plot with no room for one row draws no legend.
Draw the number-at-risk table beneath the axis. The table comes before the legend: in a short plot the legend gives up its rows first. A plot too short for a row per stratum under the panel leaves the table out.
Start the y axis at zero (the honest default) rather than at the lowest point of the lowest curve. Zooming y exaggerates separation, so this is opt-out rather than automatic.
Curve stroke width in pixels.