---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-2874b641b70c> in <module>()
4
5 B = BackgroundCatalog(N=100.0, domain=[1.43, 1.4, -1.43, -1.4], field=[0, 0, 0, 0])
----> 6 B.plot()
/Users/user/Code/Pangloss/pangloss/background.pyc in plot(self, subplot, mag_lim, mass_lim, z_lim, fig_size, graph, lensed)
1013 # Adjust the subplot in wcs by half a pixel
1014 #subplot = [subplot[0]-self.PIXSCALE[0]/2.0,subplot[1]-self.PIXSCALE[0]/2.0,subplot[2]-self.PIXSCALE[0]/2.0,subplot[3]-self.PIXSCALE[0]/2.0]
-> 1015
1016 # Create new imshow and world axes
1017 imshow, world = pangloss.make_axes(fig,subplot)
TypeError: 'NoneType' object is not iterable