How can I add textures to my bars and wedges?

前端 未结 3 1951
野的像风
野的像风 2020-12-01 04:41

I\'m drawing several bar and pie charts using matplotlib.pyplot.bar() and matplotlib.pyplot.pie(). In both functions, I can change the colors of the bars and wedges.

<
3条回答
  •  自闭症患者
    2020-12-01 05:24

    This may help you:

    http://matplotlib.org/examples/pylab_examples/demo_ribbon_box.html

    which uses matplotlib.image.BboxImage

    I believe this can resize a given image according to input data.

提交回复
热议问题