Toilet code - 15" from baseboard heater?
Most codes require at least 15 inches (measured from the center of the toilet) from any side wall or obstruction and not closer than 30 inches center to center to any other sanitary fixture. (The NKBA actually recommends 32 inches.) There should be at least 24 inches of clear space in front of a toilet or bidet.


Sourced from This Old House, emphasis mine.

If you have the clearance, do 15" from baseboard heating housing. If you don't, can you mount on a different wall, switch to a lower-profile model, or maybe use wall mounted or overhead heat?