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.
Tantrism has several pleasure principles.