7fbd4c2ed21a966bd6b6bd656ccf07155378baac,lib/matplotlib/lines.py,Line2D,draw,#Line2D#Any#,733
Before Change
rgbaFace = self._get_rgba_face()
rgbaFaceAlt = self._get_rgba_face(alt=True)
edgecolor = self.get_markeredgecolor()
if cbook._str_lower_equal(edgecolor, "none"):
gc.set_linewidth(0)
gc.set_foreground(rgbaFace, isRGBA=True)
else:
gc.set_foreground(edgecolor)
gc.set_linewidth(self._markeredgewidth)
mec = self._markeredgecolor
if (cbook._str_equal(mec, "auto")
and not cbook._str_lower_equal(
self.get_markerfacecolor(), "none")):
gc.set_alpha(rgbaFace[3])
else:
gc.set_alpha(self.get_alpha())
gc.set_antialiased(self._antialiased)
marker = self._marker
tpath, affine = transf_path.get_transformed_points_and_affine()
After Change
self.get_markeredgecolor(), self._alpha)
fc_rgba = mcolors.to_rgba(
self._get_markerfacecolor(), self._alpha)
fcalt_rgba = mcolors.to_rgba(
self._get_markerfacecolor(alt=True), self._alpha)
// If the edgecolor is "auto", it is set according to the *line*
// color but inherits the alpha value of the *face* color, if any.
if (cbook._str_equal(self._markeredgecolor, "auto")
and not cbook._str_lower_equal(
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: matplotlib/matplotlib
Commit Name: 7fbd4c2ed21a966bd6b6bd656ccf07155378baac
Time: 2018-04-28
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/lines.py
Class Name: Line2D
Method Name: draw
Project Name: matplotlib/matplotlib
Commit Name: 393c862f12fa14b853b66040b59e5dc111d97c5d
Time: 2018-08-04
Author: tcaswell@gmail.com
File Name: lib/matplotlib/lines.py
Class Name: Line2D
Method Name: draw
Project Name: has2k1/plotnine
Commit Name: d373001a3c3abec234a3594b814adfd1b8cbb231
Time: 2015-11-17
Author: has2k1@gmail.com
File Name: ggplot/geoms/geom_polygon.py
Class Name: geom_polygon
Method Name: draw_group
Project Name: has2k1/plotnine
Commit Name: 95c2a29c7f1992f78d11acfe9cdfee83a7516af2
Time: 2016-03-16
Author: has2k1@gmail.com
File Name: ggplot/geoms/geom_path.py
Class Name:
Method Name: _draw_lines