matplotlib
Fork me on GitHub


Travis-CI:

Related Topics

This Page

Text watermarkΒΆ

Use a Text as a watermark

../../_images/sphx_glr_watermark_text_001.png
import numpy as np
#import matplotlib
#matplotlib.use('Agg')

import matplotlib.pyplot as plt

# Fixing random state for reproducibility
np.random.seed(19680801)


fig, ax = plt.subplots()
ax.plot(np.random.rand(20), '-o', ms=20, lw=2, alpha=0.7, mfc='orange')
ax.grid()

# position bottom right
fig.text(0.95, 0.05, 'Property of MPL',
         fontsize=50, color='gray',
         ha='right', va='bottom', alpha=0.5)

plt.show()

Total running time of the script: ( 0 minutes 0.058 seconds)

Gallery generated by Sphinx-Gallery