def show_info(self):
     colormap = plt.cm.rainbow
     colors = [colormap(i) for i in np.linspace(0.0, 1.0, 1+len(self.layers.keys()))]
     for j,k in enumerate(self.layers.keys()):
         L = getattr(self,k)
         polys = L.get_polis()
         if len(polys):
             gca().add_patch(PolygonPatch(empty(),fc=colors[j],alpha=0.85,label=k))
         showPolygons(polys,[colors[j]]*len(polys))
     ankers = self.get_ankers()
     ankers = self.ANKERS
     print ankers
     for a in ankers.keys():
         plot(ankers[a][0],ankers[a][1],'o',label=a)
     legend()
 def show_info(self, alpha=0.65, hatch=None, fill=True, colormap = plt.cm.rainbow):
 
     hatches=['.', '/', '\'', '\\', '//', '\\\\', '///', '*']
     colormap = colormap
     colors = [colormap(i) for i in np.linspace(0.0, 1.0, 1+len(self.layers.keys()))]
     for j,k in enumerate(self.layers.keys()):
         L = getattr(self,k)
         polys = L.get_polis()
         
         if hatch:
             i = j%len(hatches)
             thehatch = hatches[i]
         else:
             thehatch=''
             
         if len(polys):
             gca().add_patch(PolygonPatch(empty(),fc=colors[j],alpha=alpha,hatch=thehatch, label=k))
         showPolygons(polys,[colors[j]]*len(polys), alpha=alpha, hatch=thehatch, fill=fill)
     ankers = self.get_ankers()
     ankers = self.ANKERS
     print ankers
     for a in ankers.keys():
         plot(ankers[a][0],ankers[a][1],'o',label=a)
     legend()