Self-normalised yields of electrons from heavy-flavour hadron decays as a function of self-normalised charged-particle pseudorapidity density at midrapidity measured in \pPb collisions at \sqrtsNN $= 8.16 \rm TeV$ compared with EPOS 2.592 without-hydrodynamics in two \pt intervals 0.5 $< \pt <$ 3 \GeVc and 3 $< \pt <$ 6 \GeVc. The width of the band is the statistical uncertainty from EPOS simulations. The bottom panel shows the ratio of data with respect to the MC predictions. The vertical bars correspond to the propagated statistical uncertainties from the data and the MC predictions, and the boxes correspond to systematical uncertainties from the data.