You are reading an old version of the documentation (v1.2.1). For the latest version see https://matplotlib.org/stable/
matplotlib

This Page

pylab_examples example code: unicode_demo.py

(Source code, png, hires.png, pdf)

../../_images/unicode_demo.png
#!/usr/bin/python
# -*- coding: utf-8 -*-

from __future__ import unicode_literals

import pylab

pylab.plot([1, 2, 4])
pylab.title('Développés et fabriqués')
pylab.xlabel("réactivité nous permettent d'être sélectionnés et adoptés")
pylab.ylabel('André was here!')
pylab.text( 0.5, 2.5, 'Institut für Festkörperphysik', rotation=45)
pylab.text( 1, 1.5, 'AVA (check kerning)')

pylab.show()

Keywords: python, matplotlib, pylab, example, codex (see Search examples)