6c8d301d19b62d966148a3a1409e05ba84d5ea50,ggplot/geoms/geom_path.py,,_draw_segments,#Any#Any#,285
Before Change
for _, _df in df.groupby("group"):
idx = _df.index.tolist()
indices[:-1] += idx // One line from two points
for i1, i2 in zip(idx[:-1], idx[1:]):
x1, x2 = pinfo["x"][i1], pinfo["x"][i2]
y1, y2 = pinfo["y"][i1], pinfo["y"][i2]
segments.append(((x1, y1), (x2, y2)))
edgecolor = get_param("edgecolor", indices)
linewidth = get_param("linewidth", indices)
linestyle = get_param("linestyle", indices)
coll = mcoll.LineCollection(segments,
After Change
for _, _df in df.groupby("group"):
idx = _df.index.tolist()
indices[:-1] += idx // One line from two points
x = [pinfo["x"][i] for i in idx]
y = [pinfo["y"][i] for i in idx]
segments.append(make_line_segments(x, y, ispath=True))
segments = np.vstack(segments)
edgecolor = get_param("edgecolor", indices)
linewidth = get_param("linewidth", indices)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances Project Name: has2k1/plotnine
Commit Name: 6c8d301d19b62d966148a3a1409e05ba84d5ea50
Time: 2015-06-02
Author: has2k1@gmail.com
File Name: ggplot/geoms/geom_path.py
Class Name:
Method Name: _draw_segments
Project Name: mne-tools/mne-python
Commit Name: 7ecc4a52faf0cc363e56f1fbb0e2109a76c7c8cb
Time: 2018-09-13
Author: mailsik@gmail.com
File Name: mne/io/fiff/raw.py
Class Name: Raw
Method Name: __init__
Project Name: estnltk/estnltk
Commit Name: 56853f351b13e6c806902b02d5ca23e8836028af
Time: 2014-12-16
Author: alex.tk.fb@gmail.com
File Name: estnltk/estner/crfsuiteutil.py
Class Name: Tagger
Method Name: tag