In the book Forecasting: Principles and Practice, at the very end of Chapter 5.5 "Distributional forecasts and prediction intervals" ([5.5 Distributional forecasts and prediction intervals | Forecasting: Principles and Practice (3rd ed)](https://Forecasting: Principles and Practice (3rd ed) Rob J Hyndman and George Athanasopoulos)), there are 2 plots: the first plot shows naive forecasts of Google stock price for 10 trading days using 80% and 95% confidence intervals, and the second plot shows the forecast density histogram for the 10th forecast day of Google stock.

What is the code for obtaining the latter, the forecast density histogram used in this example? Essentially, I don't understand how to obtain a forecast density from the forecast function of the Fable package.

^{Referred here by Forecasting: Principles and Practice, by Rob J Hyndman and George Athanasopoulos}