title: Python svgwrite and simultaneous animationTransforms
body: <p>I am trying to use python svgwrite to make an object scale and rotate at the same time. My efforts has so far been to add two consecutive &quot;animateTransform&quot;. It does however seem to only take the last action into account, as seen in my example.</p>
  <pre><code>import svgwrite 
  
  path = [(100,100),(100,200),(200,200),(200,100)]
  
  image = svgwrite.Drawing('test.svg',size=(300,300))
  
  rectangle = image.add(image.polygon(path,id ='polygon',stroke=&quot;black&quot;,fill=&quot;white&quot;))
  rectangle.add(image.animateTransform(&quot;rotate&quot;,&quot;transform&quot;,id=&quot;polygon&quot;, from_=&quot;0 150 150&quot;, to=&quot;360 150 150&quot;,dur=&quot;4s&quot;,begin=&quot;0s&quot;,repeatCount=&quot;indefinite&quot;))
  rectangle.add(image.animateTransform(&quot;scale&quot;,&quot;transform&quot;,id=&quot;polygon&quot;, from_=&quot;0&quot;, to=&quot;1&quot;,dur=&quot;4s&quot;,begin=&quot;0s&quot;,repeatCount=&quot;indefinite&quot;))
  
  image.save()
  display(SVG('test.svg'))
  </code></pre>
  <p>Can anyone help?</p>