Not sure if you’ve getten any other help with this but we have platys and we have lost 2 of them; both doing this exact same thing for days before dying... however since buying a heater for our tank and setting it at 24C we haven’t lost any more - unsure if this is why they have passed or not but we got water quality checked and everything and all was okay only thing we can think is that it’s been too cold for them