Python Use Variable In Nested Fig