Gender of steam locomotives

Last week Lloyd’s of London announce that they would no longer refer to ships as 'she" but as “it”.
Years ago, I saw a list of reasons why a steam locomotive was female. Can anyone reproduce it for me, or tell me where it was?

Thanks,
David