开发者

How to write a copyright message using matplotlib

开发者 https://www.devze.com 2023-01-01 20:53 出处:网络
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.

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

精彩评论

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