You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 2.1.1.post1088+gf4bcca3
Fork me on GitHub

Related Topics

This Page

Text watermarkΒΆ

Use a Text as a watermark

import numpy as np
#import matplotlib

import matplotlib.pyplot as plt

# Fixing random state for reproducibility

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

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

Gallery generated by Sphinx-Gallery