7fbd4c2ed21a966bd6b6bd656ccf07155378baac,lib/matplotlib/lines.py,Line2D,draw,#Line2D#Any#,733
Before Change
if alt_marker_path:
alt_marker_trans = marker.get_alt_transform()
alt_marker_trans = alt_marker_trans.scale(w)
if (cbook._str_equal(mec, "auto")
and not cbook._str_lower_equal(
self.get_markerfacecoloralt(), "none")):
gc.set_alpha(rgbaFaceAlt[3])
else:
gc.set_alpha(self.get_alpha())
renderer.draw_markers(
gc, alt_marker_path, alt_marker_trans, subsampled,
affine.frozen(), rgbaFaceAlt)
After Change
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(
self.get_markerfacecolor(), "none")):
ec_rgba = ec_rgba[:3] + (fc_rgba[3],)
gc.set_foreground(ec_rgba, isRGBA=True)
marker = self._marker
tpath, affine = transf_path.get_transformed_points_and_affine()
In pattern: SUPERPATTERN
Frequency: 3
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: a2de5bbe3437e19c2886cf481b8a53e714a1ae51
Time: 2020-01-09
Author: anntzer.lee@gmail.com
File Name: examples/event_handling/legend_picking.py
Class Name:
Method Name: on_pick
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