开发者

How to write a copyright message using matplotlib

I am creating some graphs using matplotlib, and I want to be able to write a copyright message and my website address at the bottom of the ima开发者_如何学Cge.

Something like:

© ACME Corp www.example.com

Does anyone know how I may do this?


To write text in the figure outside the axis area, use figtext.


Not sure if this answer your question but you can put any text in a figure with

 text(x, y, s, fontdict=None, **kwargs)

some examples of fonts are in here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜