Re: [Matplotlib-users] Get an image into a wedge of a pie chart

2014-09-10 Thread Benjamin Root
Off the bat, all I can think of is to use figimage: http://matplotlib.org/api/pyplot_api.html?highlight=figimage#matplotlib.pyplot.figimage Of course, an issue is how to determine the location for the flags. Perhaps one could take advantage of each label object's position and transform that into f

[Matplotlib-users] Get an image into a wedge of a pie chart

2014-09-06 Thread fizix137
My full question is in stack overflow. Basically I want to add an image of a flag into each of the wedges of a pie chart. The wedges will never be smaller than 1/8 of the pie so the flag should always fit nicely. I can't figure out how to get an image to be inside a wedge. That's what I need he