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
You can also simply do
for row in figure: row.reverse()
to change each row in place.