title: How to rotate matplotlib fill-style-markers?
body: <p><a href="https://i.stack.imgur.com/pARLv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pARLv.png" alt="enter image description here"></a></p>
  
  <p>In black are matplotlib markers <a href="https://stackoverflow.com/questions/49660174/rotate-existing-matplotlib-markers/49662571#49662571">that are able to rotate</a> . In blue/orange are <a href="https://matplotlib.org/gallery/lines_bars_and_markers/marker_fillstyle_reference.html" rel="nofollow noreferrer">fill-style-markers</a>, and I have not managed to rotate them in the same way.</p>
  
  <p>Here is the code that has generated the graphics. In this version <code>t</code> is not used.</p>
  
  <pre><code>import matplotlib as mpl
  import matplotlib.pyplot as plt
  
  x = [0,10,20,30,40,50,60,70,80,90]
  for i in x:
      t = mpl.markers.MarkerStyle(marker='o')
      t._transform = t.get_transform().rotate_deg(-i)
      marker_style = dict(color='b',  markerfacecoloralt='orange', markeredgecolor='w', markersize=25,
                          marker='o' )    
      plt.plot(i, i, marker=(2, 0, -i), c='k',markersize=30, linestyle='None')
      plt.plot(i, i, marker=(3, 0, -i), c='k',markersize=10, linestyle='None')
      plt.plot(i, i+20,fillstyle='top', **marker_style)
  plt.margins(0.15); plt.grid();plt.show()
  </code></pre>
  
  <p>I have tried without success:</p>
  
  <pre><code>marker_style = dict(....., marker=(3, 3, -i) ) 
  or
  marker_style = dict(....., marker=t ) 
  or
  plt.plot(i, i+20,fillstyle='top', marker=(3, 3, -i) 
  </code></pre>
  
  <p>Thanks if you know and tell how to put the things together ! A solution with <code>plt.scatter()</code> would be fine too.</p>