title: Is it possible to change turtle's pen stroke?
body: <p>I need to draw a bar graph using Python's turtle graphics and I figured it would be easier to simply make the pen a thick square so I could draw the bars like that and not have to worry about making dozens of rectangles and filling them in.</p>
  
  <p>When I set the turtle shape using <code>turtle.shape('square')</code> though, it only changes the appearance of the pen but has no effect on the actual drawing:</p>
  
  <p><img src="https://i.stack.imgur.com/REcoE.jpg" alt="enter image description here"></p>
  
  <p>Is there a way to make turtle actually draw a rectangular stroke, whether that be through built-in methods or through modifying the turtle file?</p>
  
  <p>I DON'T want rounded edges, like this:</p>
  
  <p><img src="https://i.stack.imgur.com/tNOw4.jpg" alt="enter image description here"></p>