Which preposition to use with idiosyncracy

of Occurrences 3%

It may be mentioned as an amiable idiosyncracy of the mosquito, that it is fond of babies.

in Occurrences 1%

I am of a constitution so general, that it consorts and sympathized with all things, I have no antipathy, or rather idiosyncracy in any thing.

Which preposition to use with  idiosyncracy