f872c37f1699d796c4bc535d6f4f5c7c32711403,examples/api/barchart.py,,,#,11

Before Change


// add some text for labels, title and axes ticks
ax.set_ylabel("Scores")
ax.set_title("Scores by group and gender")
ax.set_xticks(ind + width / 2)
ax.set_xticklabels(("G1", "G2", "G3", "G4", "G5"))

ax.legend((rects1[0], rects2[0]), ("Men", "Women"))

After Change


import numpy as np
import matplotlib.pyplot as plt

men_means, men_std = (20, 35, 30, 35, 27), (2, 3, 4, 1, 2)
women_means, women_std = (25, 32, 34, 20, 25), (3, 5, 2, 3, 3)

ind = np.arange(len(men_means))  // the x locations for the groups
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: matplotlib/matplotlib
Commit Name: f872c37f1699d796c4bc535d6f4f5c7c32711403
Time: 2017-12-01
Author: vincent.adrien@gmail.com
File Name: examples/api/barchart.py
Class Name:
Method Name:


Project Name: scikit-image/scikit-image
Commit Name: 81d96f30b9d3368f43d9f94074256e53cee2baa2
Time: 2016-09-04
Author: multicolor.mood@gmail.com
File Name: doc/examples/segmentation/plot_segmentations.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 777b9c98503cb261a1df2c08cdebe6325483ea09
Time: 2020-01-23
Author: anntzer.lee@gmail.com
File Name: examples/subplots_axes_and_figures/axes_demo.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: d6fadfc1dc499416b31425c8f2ced5923bacb51f
Time: 2020-04-10
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/widgets.py
Class Name: TextBox
Method Name: __init__