 Fix issue with webbrowser opening with an empty page.
 Fix issue with webbrowser opening with an empty page.

 If webbrowser is called inside the `with open` block, the file may not be
 written yet and the browser shows an empty page, after reloading the page is
 correctly displayed. So calling webbrowser after the with block solves the
 issue.

kelle/astropy,DougBurke/astropy,StuartLittlefair/astropy,AustereCuriosity/astropy,mhvk/astropy,funbaker/astropy,lpsinger/astropy,aleksandr-bakanov/astropy,funbaker/astropy,pllim/astropy,lpsinger/astropy,pllim/astropy,dhomeier/astropy,bsipocz/astropy,larrybradley/astropy,tbabej/astropy,joergdietrich/astropy,DougBurke/astropy,tbabej/astropy,pllim/astropy,pllim/astropy,mhvk/astropy,dhomeier/astropy,DougBurke/astropy,lpsinger/astropy,astropy/astropy,MSeifert04/astropy,AustereCuriosity/astropy,joergdietrich/astropy,kelle/astropy,aleksandr-bakanov/astropy,astropy/astropy,saimn/astropy,MSeifert04/astropy,dhomeier/astropy,AustereCuriosity/astropy,funbaker/astropy,bsipocz/astropy,saimn/astropy,larrybradley/astropy,saimn/astropy,kelle/astropy,stargaser/astropy,AustereCuriosity/astropy,MSeifert04/astropy,MSeifert04/astropy,mhvk/astropy,StuartLittlefair/astropy,tbabej/astropy,StuartLittlefair/astropy,DougBurke/astropy,StuartLittlefair/astropy,lpsinger/astropy,astropy/astropy,dhomeier/astropy,stargaser/astropy,AustereCuriosity/astropy,astropy/astropy,joergdietrich/astropy,larrybradley/astropy,funbaker/astropy,joergdietrich/astropy,astropy/astropy,aleksandr-bakanov/astropy,bsipocz/astropy,kelle/astropy,saimn/astropy,dhomeier/astropy,bsipocz/astropy,mhvk/astropy,stargaser/astropy,aleksandr-bakanov/astropy,tbabej/astropy,saimn/astropy,stargaser/astropy,pllim/astropy,kelle/astropy,larrybradley/astropy,tbabej/astropy,mhvk/astropy,lpsinger/astropy,StuartLittlefair/astropy,joergdietrich/astropy,larrybradley/astropy