The erotica is probably best explained, however, along with Nepal's ubiquitous Shiva lingams (phalluses) and the female yoni symbols, as an expression of the creative energy in male-female relations and the pleasure principles of Tantrism.
Shiva's lingams are feminine.