I have a list containing coordinates of a polygon inside a list .How do I access x and y points present in this list? Basically, I have to use these points and plot. I have to extract all_points_x and all_points_y from:
[{'shape_attributes':
{'name': 'polygon',
'all_points_x': [35, 28, 27, 31, 40, 51, 62, 72, 74, 71, 65, 57, 41],
'all_points_y': [74, 55, 32, 16, 4, 6, 12, 35, 56, 74, 83, 86, 81]},
'region_attributes': {}},
None,
{'shape_attributes':
{'name': 'polygon',
'all_points_x': [6, 16, 24, 44, 69, 77, 81, 82, 80, 76, 69, 62, 51, 26, 9, 7],
'all_points_y': [85, 77, 78, 83, 92, 100, 106, 115, 118, 120, 122, 125, 126, 112, 98, 92]},
'region_attributes': {}}]