6d87b5fa03420a908fbf7e72868307dd6bc3223f,intro/matplotlib/examples/plot_bar.py,,,#,11
Before Change
// Add a title and a box around it
from matplotlib.patches import FancyBboxPatch
ax = plt.gca()
ax.add_patch(FancyBboxPatch((-0.05, .87) ,
width=.66, height=.165, clip_on=False,
boxstyle="square,pad=0", zorder=3,
facecolor="white", alpha=1.0,
After Change
plt.text(x + 0.4, y + 0.05, "%.2f" % y, ha="center", va= "bottom")
for x, y in zip(X, Y2):
plt.text(x + 0.4, -y - 0.05, "%.2f" % y, ha="center", va= "top")
plt.xlim(-.5, n)
plt.xticks(())
plt.ylim(-1.25, 1.25)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances Project Name: scipy-lectures/scipy-lecture-notes
Commit Name: 6d87b5fa03420a908fbf7e72868307dd6bc3223f
Time: 2016-09-15
Author: gael.varoquaux@normalesup.org
File Name: intro/matplotlib/examples/plot_bar.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: 285c8d2190054b4929f5f2d343ff584293ff3f6d
Time: 2018-04-26
Author: 2836374+timhoffm@users.noreply.github.com
File Name: tutorials/intermediate/imshow_extent.py
Class Name:
Method Name: generate_imshow_demo_grid
Project Name: matplotlib/matplotlib
Commit Name: ac10acb627df7db3eb661bf4bafdd75854b3051a
Time: 2020-04-02
Author: anntzer.lee@gmail.com
File Name: tutorials/intermediate/imshow_extent.py
Class Name:
Method Name: generate_imshow_demo_grid
Project Name: matplotlib/matplotlib
Commit Name: 1bdce560531184ea018991fb01f4ec56ff34995d
Time: 2019-04-14
Author: anntzer.lee@gmail.com
File Name: examples/text_labels_and_annotations/unicode_minus.py
Class Name:
Method Name: