Plotting post fit pdf vs data when using variable binning

Hi experts!

I have a HistFactory model built from variable binning histograms and I am struggling to correctly plot the post fit result on top of the data, given the internal re-normalisation treatment described here: [RF] RooDataHist from a variable binning TH1D: different shape, different bin content · Issue #16028 · root-project/root · GitHub

I have tried doing createHistogram from the pdfs as seemed to be hinted here that that could work: https://its.cern.ch/jira/browse/ROOT-10498 - but that doesnt seem to be working.

So it is not clear to me what is the way to do this correctly and get the validation fit plots I need.

Is there a good way to do this?

Cheers,

Júlia