MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_zorder

Method set_zorder

lib/matplotlib/artist.py:1185–1199  ·  view source on GitHub ↗

Set the zorder for the artist. Artists with lower zorder values are drawn first. Parameters ---------- level : float

(self, level)

Source from the content-addressed store, hash-verified

1183 return self.zorder
1184
1185 def set_zorder(self, level):
1186 """
1187 Set the zorder for the artist. Artists with lower zorder
1188 values are drawn first.
1189
1190 Parameters
1191 ----------
1192 level : float
1193 """
1194 if level is None:
1195 level = self.__class__.zorder
1196 if level != self.zorder:
1197 self.zorder = level
1198 self.pchanged()
1199 self.stale = True
1200
1201 @property
1202 def sticky_edges(self):

Callers 12

test_callbacksFunction · 0.95
errorbarMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
svg_filter_pie.pyFile · 0.45
zorder_demo.pyFile · 0.45
filtered_textFunction · 0.45
drop_shadow_lineFunction · 0.45
drop_shadow_patchesFunction · 0.45
light_filter_pieFunction · 0.45
svg_filter_line.pyFile · 0.45

Calls 1

pchangedMethod · 0.95

Tested by 1

test_callbacksFunction · 0.76