i wanted to do something like this but this code return list of None (i think it\'s because list.reverse() is reversing the list in place):
map(lambda row: row.r
map(lambda row: list(reversed(row)), figure)