43648ca19772e43f771c59fcbc6096423521feb9,examples/text_labels_and_annotations/usetex_fonteffects.py,,,#,17

Before Change



plt.ylim(-1, 5)
plt.xlim(-0.2, 0.6)
plt.setp(plt.gca(), frame_on=False, xticks=(), yticks=())
plt.title("Usetex font effects")
plt.savefig("usetex_fonteffects.pdf")

After Change


                           "(slanted)", "(condensed)", "(extended)"]]):
    fig.text(.1, 1 - (y + 1) / 6, setfont(font) + text, usetex=True)

fig.suptitle("Usetex font effects")
// Would also work if saving to pdf.
plt.show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: matplotlib/matplotlib
Commit Name: 43648ca19772e43f771c59fcbc6096423521feb9
Time: 2020-02-27
Author: anntzer.lee@gmail.com
File Name: examples/text_labels_and_annotations/usetex_fonteffects.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: ac69b1035a42e47798e4ea7167f616754be49452
Time: 2020-05-01
Author: toddrjen@gmail.com
File Name: examples/ticks_and_spines/tick-formatters.py
Class Name:
Method Name:


Project Name: scikit-learn/scikit-learn
Commit Name: 45a6ef7b722811ff1dfdc76652a144190c9e0ef8
Time: 2020-06-15
Author: madhura@predictivehire.com
File Name: examples/inspection/plot_partial_dependence.py
Class Name:
Method Name:


Project Name: kymatio/kymatio
Commit Name: 44e510ee7d49fe9e9126b2e1ecbd916a18450e84
Time: 2018-11-25
Author: edouard.oyallon@centralesupelec.fr
File Name: examples/2d/plot_filters.py
Class Name:
Method Name: