a pair should do fine in 30-40 cm tank. pH and temperature wise is not critical, 5-7 and 28-30 degrees respectively.
i have bred them in pH 5 and 7, in pairs and in a group. it all depends on your fish, whether they want to spawn for you or not... just keep them happy and healthy and they will do their part..
Bookmarks