Python Forum

Full Version: Working with turtle graphics in python and colour slices of a pie graph...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am just wondering how I would go about colouring in individual slices of a pie graph in turtle graphics. I can create the individual slices, but I am having a hard time with the begin_fill() and end_fill() because it looks like I need to also draw the ARC before it will fill in the slice (even though the arc is already there with the circle having been drawn first).