When I think of my favourite teachers that actually taught me or got me interested into the subject, I think mostly of male teachers (eletronics teachers in my technical school; math, history and physics in high school), they were really great in knoledge and in teaching!
This is my experience

When I think of my female teachers, I remember them being really nice or really lame. I had a couple of great female teachers (biology and geography) but also a horrible freaked out art teacher and a crazy english teacher in highschool that would teach us wrong english.
Actually, I find myself a miracle knowing english very well today cause that teacher would tell us that the translation of "bonbon" in english was "goodgood" (good = bom in portuguese) LOL!
Oh, and another english teacher I had was lesbian and dated students, and gave them good grades, lol.
Overall, I had great teachers of both sexes, but the lamest were females; the worst from male ones were miserable-life-making or really strict, but definitelly not lame.
It doesn't mean I am not fond of them
Edit: male librarians are very common in public libraries where I live

I think all males and females do a great job there~