diff --git a/examples/pylab_examples/accented_text.py b/examples/pylab_examples/accented_text.py deleted file mode 100644 index 16733a8060a4..000000000000 --- a/examples/pylab_examples/accented_text.py +++ /dev/null @@ -1,21 +0,0 @@ -r""" -matplotlib supports accented characters via TeX mathtext - -The following accents are provided: \hat, \breve, \grave, \bar, -\acute, \tilde, \vec, \dot, \ddot. All of them have the same syntax, -e.g., to make an overbar you do \bar{o} or to make an o umlaut you do -\ddot{o}. The shortcuts are also provided, e.g.,: \"o \'e \`e \~n \.x -\^y - -""" -import matplotlib.pyplot as plt - -plt.axes([0.1, 0.15, 0.8, 0.75]) -plt.plot(range(10)) - -plt.title(r'$\ddot{o}\acute{e}\grave{e}\hat{O}\breve{i}\bar{A}\tilde{n}\vec{q}$', fontsize=20) -# shorthand is also supported and curly's are optional -plt.xlabel(r"""$\"o\ddot o \'e\`e\~n\.x\^y$""", fontsize=20) - - -plt.show() diff --git a/examples/tests/backend_driver.py b/examples/tests/backend_driver.py index c8877fba2259..c83077654146 100755 --- a/examples/tests/backend_driver.py +++ b/examples/tests/backend_driver.py @@ -92,7 +92,6 @@ files['text_labels_and_annotations'] = [ 'text_demo_fontdict.py', - 'unicode_demo.py', ] files['ticks_and_spines'] = [ @@ -109,7 +108,6 @@ ] files['pylab'] = [ - 'accented_text.py', 'alignment_test.py', 'annotation_demo.py', 'annotation_demo.py', diff --git a/examples/text_labels_and_annotations/unicode_demo.py b/examples/text_labels_and_annotations/unicode_demo.py deleted file mode 100644 index 5fc39bea0f4c..000000000000 --- a/examples/text_labels_and_annotations/unicode_demo.py +++ /dev/null @@ -1,16 +0,0 @@ -# -*- coding: utf-8 -*- -""" -Demo of unicode support in text and labels. -""" -from __future__ import unicode_literals - -import matplotlib.pyplot as plt - - -plt.title('Développés et fabriqués') -plt.xlabel("réactivité nous permettent d'être sélectionnés et adoptés") -plt.ylabel('André was here!') -plt.text(0.2, 0.8, 'Institut für Festkörperphysik', rotation=45) -plt.text(0.4, 0.2, 'AVA (check kerning)') - -plt.show()