Co-ligand and solvent effects on the spin-crossover behaviors of PtS-type porous coordination polymers.