title: Draw an Arc as Polygon using Start, End, Center and Radius using Python Matplotlib
body: <p>I have used the below code with only inputs <code>start_point</code> and <code>end_point</code>:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  from matplotlib.path import Path
  import matplotlib.patches as patches
  
  start_point = (25, 50)
  end_point = (50, 25)
  center = (25, 25)
  radius = (25
  # We need to some how automatically calculate this midpoint
  mid_point = (45, 45)
  verts = [start_point, mid_point, end_point]
  codes = [Path.MOVETO, Path.CURVE3, Path.CURVE3]#, Path.CLOSEPOLY]
  
  path = Path(verts, codes)
  shape = patches.PathPatch(path, facecolor='none', lw=0.75)
  plt.gca().add_patch(shape)
  plt.axis('scaled')
  </code></pre>
  
  <p>I get the following output</p>
  
  <p><a href="https://i.stack.imgur.com/WXeOG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WXeOG.png" alt="enter image description here"></a></p>
  
  <p>I need the following output (I created the below output using <code>MS Paint</code>)</p>
  
  <p>[<em>Explanation</em>: Converted the arc into set of points joined as straight lines. I need those set of points as list]</p>
  
  <p><a href="https://i.stack.imgur.com/lXxB8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lXxB8.png" alt="enter image description here"></a></p>