How to get the tally output of Weight Window Generator

In the Python API of Openmc, we have openmc.WeightWindowGenerator which iterates according to the tally of flux in mesh. How to get the tally after each iteration to visualize the trend of flux as weight windows change.