ENH: add axis keyword to dendrogram function
ENH: add axis keyword to dendrogram function

This fixes gh-1325 (Trac #798). It allows scipy dendrograms to easily be
plotted on custom axes, e.g. as part of a larger figure. It does not import
pylab at all if an axis is provided, which is useful for those who are using
the matplotlib API.

gfyoung/scipy,Stefan-Endres/scipy,nonhermitian/scipy,Newman101/scipy,ndchorley/scipy,vanpact/scipy,scipy/scipy,hainm/scipy,apbard/scipy,dominicelse/scipy,surhudm/scipy,richardotis/scipy,futurulus/scipy,aarchiba/scipy,trankmichael/scipy,giorgiop/scipy,mtrbean/scipy,Shaswat27/scipy,lukauskas/scipy,Shaswat27/scipy,ndchorley/scipy,jakevdp/scipy,mingwpy/scipy,jjhelmus/scipy,ortylp/scipy,petebachant/scipy,piyush0609/scipy,Newman101/scipy,nvoron23/scipy,FRidh/scipy,richardotis/scipy,andyfaff/scipy,witcxc/scipy,hainm/scipy,sriki18/scipy,sonnyhu/scipy,nonhermitian/scipy,argriffing/scipy,surhudm/scipy,WarrenWeckesser/scipy,newemailjdm/scipy,mikebenfield/scipy,mdhaber/scipy,zaxliu/scipy,rgommers/scipy,matthew-brett/scipy,Newman101/scipy,bkendzior/scipy,jamestwebber/scipy,maniteja123/scipy,raoulbq/scipy,giorgiop/scipy,minhlongdo/scipy,gef756/scipy,niknow/scipy,giorgiop/scipy,pschella/scipy,nmayorov/scipy,cpaulik/scipy,mhogg/scipy,anntzer/scipy,pizzathief/scipy,dch312/scipy,arokem/scipy,WarrenWeckesser/scipy,kalvdans/scipy,surhudm/scipy,arokem/scipy,fredrikw/scipy,ales-erjavec/scipy,jseabold/scipy,WillieMaddox/scipy,efiring/scipy,Gillu13/scipy,petebachant/scipy,mhogg/scipy,mdhaber/scipy,minhlongdo/scipy,tylerjereddy/scipy,newemailjdm/scipy,futurulus/scipy,josephcslater/scipy,jamestwebber/scipy,sauliusl/scipy,vanpact/scipy,ChanderG/scipy,jsilter/scipy,ortylp/scipy,fernand/scipy,ChanderG/scipy,pnedunuri/scipy,anntzer/scipy,zaxliu/scipy,behzadnouri/scipy,larsmans/scipy,vigna/scipy,arokem/scipy,niknow/scipy,woodscn/scipy,nvoron23/scipy,mgaitan/scipy,ilayn/scipy,rgommers/scipy,mgaitan/scipy,rmcgibbo/scipy,pyramania/scipy,Eric89GXL/scipy,jsilter/scipy,vberaudi/scipy,zxsted/scipy,petebachant/scipy,rgommers/scipy,FRidh/scipy,Srisai85/scipy,woodscn/scipy,Dapid/scipy,gdooper/scipy,haudren/scipy,scipy/scipy,kleskjr/scipy,fernand/scipy,Eric89GXL/scipy,chatcannon/scipy,lukauskas/scipy,pschella/scipy,jonycgn/scipy,andim/scipy,kleskjr/scipy,ales-erjavec/scipy,efiring/scipy,ilayn/scipy,nmayorov/scipy,jjhelmus/scipy,mortada/scipy,ogrisel/scipy,maniteja123/scipy,woodscn/scipy,zxsted/scipy,apbard/scipy,Srisai85/scipy,felipebetancur/scipy,mortonjt/scipy,njwilson23/scipy,mdhaber/scipy,WillieMaddox/scipy,ndchorley/scipy,pnedunuri/scipy,aarchiba/scipy,vberaudi/scipy,ortylp/scipy,maciejkula/scipy,efiring/scipy,larsmans/scipy,perimosocordiae/scipy,Eric89GXL/scipy,pnedunuri/scipy,grlee77/scipy,josephcslater/scipy,andim/scipy,larsmans/scipy,jseabold/scipy,e-q/scipy,Kamp9/scipy,vberaudi/scipy,ortylp/scipy,piyush0609/scipy,behzadnouri/scipy,gertingold/scipy,aman-iitj/scipy,chatcannon/scipy,ChanderG/scipy,gertingold/scipy,jseabold/scipy,jakevdp/scipy,kalvdans/scipy,sriki18/scipy,rgommers/scipy,e-q/scipy,scipy/scipy,dominicelse/scipy,matthewalbani/scipy,nvoron23/scipy,mgaitan/scipy,e-q/scipy,josephcslater/scipy,WarrenWeckesser/scipy,mortonjt/scipy,pizzathief/scipy,bkendzior/scipy,tylerjereddy/scipy,tylerjereddy/scipy,kleskjr/scipy,efiring/scipy,fredrikw/scipy,mhogg/scipy,futurulus/scipy,giorgiop/scipy,endolith/scipy,larsmans/scipy,behzadnouri/scipy,woodscn/scipy,anielsen001/scipy,mikebenfield/scipy,pbrod/scipy,pyramania/scipy,nvoron23/scipy,pnedunuri/scipy,nmayorov/scipy,dch312/scipy,Stefan-Endres/scipy,grlee77/scipy,surhudm/scipy,vberaudi/scipy,perimosocordiae/scipy,mtrbean/scipy,mortonjt/scipy,Eric89GXL/scipy,ortylp/scipy,Dapid/scipy,gertingold/scipy,pbrod/scipy,aman-iitj/scipy,chatcannon/scipy,anielsen001/scipy,cpaulik/scipy,niknow/scipy,felipebetancur/scipy,scipy/scipy,gef756/scipy,chatcannon/scipy,dominicelse/scipy,vanpact/scipy,hainm/scipy,jjhelmus/scipy,ndchorley/scipy,andim/scipy,gfyoung/scipy,njwilson23/scipy,pizzathief/scipy,maniteja123/scipy,piyush0609/scipy,Shaswat27/scipy,cpaulik/scipy,matthew-brett/scipy,ales-erjavec/scipy,Dapid/scipy,aarchiba/scipy,person142/scipy,ogrisel/scipy,raoulbq/scipy,person142/scipy,njwilson23/scipy,maciejkula/scipy,dch312/scipy,piyush0609/scipy,gertingold/scipy,e-q/scipy,raoulbq/scipy,mortonjt/scipy,nonhermitian/scipy,Srisai85/scipy,anielsen001/scipy,trankmichael/scipy,mikebenfield/scipy,vigna/scipy,bkendzior/scipy,sauliusl/scipy,ilayn/scipy,mikebenfield/scipy,grlee77/scipy,aeklant/scipy,jor-/scipy,endolith/scipy,njwilson23/scipy,fredrikw/scipy,zxsted/scipy,mingwpy/scipy,ales-erjavec/scipy,haudren/scipy,matthew-brett/scipy,Gillu13/scipy,endolith/scipy,andim/scipy,trankmichael/scipy,newemailjdm/scipy,argriffing/scipy,befelix/scipy,pbrod/scipy,jsilter/scipy,pyramania/scipy,lhilt/scipy,mortada/scipy,grlee77/scipy,bkendzior/scipy,minhlongdo/scipy,FRidh/scipy,jjhelmus/scipy,Newman101/scipy,vhaasteren/scipy,aman-iitj/scipy,e-q/scipy,ogrisel/scipy,andyfaff/scipy,gef756/scipy,Kamp9/scipy,gfyoung/scipy,raoulbq/scipy,efiring/scipy,vigna/scipy,minhlongdo/scipy,pyramania/scipy,felipebetancur/scipy,witcxc/scipy,Stefan-Endres/scipy,woodscn/scipy,vanpact/scipy,jseabold/scipy,maciejkula/scipy,lukauskas/scipy,woodscn/scipy,anntzer/scipy,hainm/scipy,anielsen001/scipy,sonnyhu/scipy,maciejkula/scipy,mtrbean/scipy,Dapid/scipy,gertingold/scipy,tylerjereddy/scipy,pizzathief/scipy,gdooper/scipy,ales-erjavec/scipy,person142/scipy,fernand/scipy,petebachant/scipy,sauliusl/scipy,jor-/scipy,aeklant/scipy,ales-erjavec/scipy,rmcgibbo/scipy,dch312/scipy,njwilson23/scipy,aeklant/scipy,mhogg/scipy,zerothi/scipy,aman-iitj/scipy,mdhaber/scipy,jakevdp/scipy,Kamp9/scipy,vhaasteren/scipy,mortonjt/scipy,argriffing/scipy,Stefan-Endres/scipy,WarrenWeckesser/scipy,andyfaff/scipy,matthew-brett/scipy,sriki18/scipy,kleskjr/scipy,anielsen001/scipy,anntzer/scipy,perimosocordiae/scipy,Stefan-Endres/scipy,vhaasteren/scipy,maniteja123/scipy,jamestwebber/scipy,hainm/scipy,bkendzior/scipy,felipebetancur/scipy,nvoron23/scipy,lhilt/scipy,Shaswat27/scipy,josephcslater/scipy,anntzer/scipy,ilayn/scipy,larsmans/scipy,aarchiba/scipy,tylerjereddy/scipy,person142/scipy,nvoron23/scipy,FRidh/scipy,argriffing/scipy,lukauskas/scipy,arokem/scipy,sauliusl/scipy,lhilt/scipy,larsmans/scipy,maniteja123/scipy,zerothi/scipy,niknow/scipy,vhaasteren/scipy,kleskjr/scipy,jamestwebber/scipy,jor-/scipy,richardotis/scipy,WillieMaddox/scipy,anielsen001/scipy,gef756/scipy,mgaitan/scipy,sonnyhu/scipy,perimosocordiae/scipy,efiring/scipy,vberaudi/scipy,Newman101/scipy,Srisai85/scipy,jsilter/scipy,fernand/scipy,zaxliu/scipy,piyush0609/scipy,giorgiop/scipy,pbrod/scipy,matthewalbani/scipy,sonnyhu/scipy,mingwpy/scipy,scipy/scipy,jor-/scipy,chatcannon/scipy,sonnyhu/scipy,lukauskas/scipy,piyush0609/scipy,gef756/scipy,trankmichael/scipy,zerothi/scipy,perimosocordiae/scipy,witcxc/scipy,raoulbq/scipy,nmayorov/scipy,WillieMaddox/scipy,sriki18/scipy,arokem/scipy,raoulbq/scipy,petebachant/scipy,dominicelse/scipy,aarchiba/scipy,matthewalbani/scipy,gef756/scipy,mhogg/scipy,mdhaber/scipy,futurulus/scipy,maniteja123/scipy,Kamp9/scipy,andyfaff/scipy,nmayorov/scipy,minhlongdo/scipy,njwilson23/scipy,aman-iitj/scipy,dch312/scipy,mikebenfield/scipy,mortada/scipy,mingwpy/scipy,mtrbean/scipy,kalvdans/scipy,surhudm/scipy,scipy/scipy,fernand/scipy,befelix/scipy,FRidh/scipy,zxsted/scipy,fredrikw/scipy,matthewalbani/scipy,lhilt/scipy,newemailjdm/scipy,zaxliu/scipy,Dapid/scipy,witcxc/scipy,apbard/scipy,aeklant/scipy,andyfaff/scipy,rmcgibbo/scipy,vigna/scipy,nonhermitian/scipy,cpaulik/scipy,befelix/scipy,kleskjr/scipy,endolith/scipy,vhaasteren/scipy,FRidh/scipy,pschella/scipy,andim/scipy,pbrod/scipy,Shaswat27/scipy,mgaitan/scipy,Eric89GXL/scipy,mortada/scipy,ndchorley/scipy,gfyoung/scipy,behzadnouri/scipy,behzadnouri/scipy,grlee77/scipy,kalvdans/scipy,rmcgibbo/scipy,hainm/scipy,cpaulik/scipy,trankmichael/scipy,Gillu13/scipy,rmcgibbo/scipy,lhilt/scipy,jonycgn/scipy,jonycgn/scipy,mtrbean/scipy,anntzer/scipy,Eric89GXL/scipy,vberaudi/scipy,vanpact/scipy,jseabold/scipy,mortada/scipy,futurulus/scipy,fredrikw/scipy,endolith/scipy,mdhaber/scipy,ilayn/scipy,haudren/scipy,ilayn/scipy,jonycgn/scipy,Srisai85/scipy,andim/scipy,josephcslater/scipy,Stefan-Endres/scipy,ChanderG/scipy,jsilter/scipy,pnedunuri/scipy,mingwpy/scipy,richardotis/scipy,mortonjt/scipy,argriffing/scipy,befelix/scipy,jamestwebber/scipy,newemailjdm/scipy,apbard/scipy,pschella/scipy,ChanderG/scipy,fredrikw/scipy,jor-/scipy,newemailjdm/scipy,witcxc/scipy,zaxliu/scipy,ogrisel/scipy,WarrenWeckesser/scipy,mingwpy/scipy,jseabold/scipy,kalvdans/scipy,haudren/scipy,trankmichael/scipy,zerothi/scipy,haudren/scipy,nonhermitian/scipy,maciejkula/scipy,behzadnouri/scipy,Srisai85/scipy,matthew-brett/scipy,mtrbean/scipy,apbard/scipy,gdooper/scipy,fernand/scipy,ChanderG/scipy,WillieMaddox/scipy,pyramania/scipy,zerothi/scipy,pbrod/scipy,sriki18/scipy,befelix/scipy,ogrisel/scipy,lukauskas/scipy,sauliusl/scipy,endolith/scipy,Kamp9/scipy,sauliusl/scipy,matthewalbani/scipy,jonycgn/scipy,richardotis/scipy,surhudm/scipy,gfyoung/scipy,aeklant/scipy,giorgiop/scipy,pnedunuri/scipy,futurulus/scipy,mhogg/scipy,Gillu13/scipy,niknow/scipy,minhlongdo/scipy,ndchorley/scipy,ortylp/scipy,WarrenWeckesser/scipy,rgommers/scipy,Gillu13/scipy,zxsted/scipy,zxsted/scipy,Newman101/scipy,vanpact/scipy,chatcannon/scipy,niknow/scipy,rmcgibbo/scipy,vhaasteren/scipy,Shaswat27/scipy,richardotis/scipy,jakevdp/scipy,Kamp9/scipy,cpaulik/scipy,sonnyhu/scipy,mgaitan/scipy,felipebetancur/scipy,perimosocordiae/scipy,jakevdp/scipy,argriffing/scipy,gdooper/scipy,aman-iitj/scipy,gdooper/scipy,zerothi/scipy,vigna/scipy,Dapid/scipy,sriki18/scipy,WillieMaddox/scipy,dominicelse/scipy,felipebetancur/scipy,haudren/scipy,zaxliu/scipy,andyfaff/scipy,mortada/scipy,jonycgn/scipy,jjhelmus/scipy,petebachant/scipy,pschella/scipy,Gillu13/scipy,person142/scipy,pizzathief/scipy