Skip to content

Commit

Permalink
Added docstring for GenericElementPlot.get_zorder method
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jun 16, 2016
1 parent 45c6b0a commit 34dd383
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions holoviews/plotting/plot.py
Expand Up @@ -520,6 +520,10 @@ def __init__(self, element, keys=None, ranges=None, dimensions=None,


def get_zorder(self, overlay, key, el):
"""
Computes the z-order of element in the NdOverlay
taking into account possible batching of elements.
"""
spec = util.get_overlay_spec(overlay, key, el)
try:
return self.ordering.index(spec)
Expand Down

0 comments on commit 34dd383

Please sign in to comment.