Computing confidence interval of average output from random forest in scikit learn
In the link that you post there is a portion that describes how to compute and plot errorbars. These bars are the confidence intervals. If you prefer to have this plotted as bands you could follow this example