23dad88287331e254e119634bc991d1e8bbb8668,examples/text_labels_and_annotations/stix_fonts_demo.py,,,#,11
Before Change
plt.axis([0, 3, -len(tests), 0])
plt.yticks(-np.arange(len(tests)))
for i, s in enumerate(tests):
plt.text(0.1, -i, s, fontsize=32)
plt.show()
After Change
import numpy as np
circle123 = "\N{CIRCLED DIGIT ONE}\N{CIRCLED DIGIT TWO}\N{CIRCLED DIGIT THREE}"
tests = [
r"$%s \mathrm{%s} \mathbf{%s}$" % ((circle123,) * 3),
r"$\mathsf{Sans \Omega} \mathrm{\mathsf{Sans \Omega}}"
r" \mathbf{\mathsf{Sans \Omega}}$",
r"$\mathtt{Monospace}$",
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: matplotlib/matplotlib
Commit Name: 23dad88287331e254e119634bc991d1e8bbb8668
Time: 2019-03-25
Author: anntzer.lee@gmail.com
File Name: examples/text_labels_and_annotations/stix_fonts_demo.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: 21e7d2ca9cfa51ceaf46d65a5ec30abfcdc5bffe
Time: 2019-03-30
Author: tcaswell@gmail.com
File Name: examples/text_labels_and_annotations/stix_fonts_demo.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: 64ac509a6cec89592c6140eebcd9058cb87044f0
Time: 2019-02-13
Author: elch.rz@ruetz-online.de
File Name: examples/statistics/barchart_demo.py
Class Name:
Method Name: plot_student_results