def new_england_distribution_map(request, genus, epithet): """Return a vector map of New England showing county-level distribution data for a plant. """ distribution_map = NewEnglandPlantDistributionMap() return _distribution_map(request, distribution_map, genus, epithet)
def setUp(self): self.dist_map = NewEnglandPlantDistributionMap() self.legend = Legend(self.dist_map.svg_map, maximum_categories=2, maximum_items=5)
def setUp(self): dist_map = NewEnglandPlantDistributionMap() path_nodes = dist_map.svg_map.findall( '{http://www.w3.org/2000/svg}path') self.path = Path(path_nodes[0])
def setUp(self): self.distribution_map = NewEnglandPlantDistributionMap() create_distribution_records()
def setUp(self): self.chloropleth_map = NewEnglandPlantDistributionMap()