Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add TODO note about marker extents and vertex overlaps.

  • Loading branch information...
commit 612f3d233de8b290ff72dc7c25abb5f7c5f1f713 1 parent 9f17739
@maxalbert authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/matplotlib/
3  lib/matplotlib/
@@ -928,6 +928,9 @@ def _find_best_position(self, width, height, renderer, consider=None):
for l, b in consider:
legendBox = Bbox.from_bounds(l, b, width, height)
badness = 0
+ # XXX TODO: If markers are present, it would be good to
+ # take their into account when checking vertex overlaps in
+ # the next line.
badness = legendBox.count_contains(verts)
badness += legendBox.count_overlaps(bboxes)
for line in lines:
Please sign in to comment.
Something went wrong with that request. Please try again.