Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce3ab76

Browse files
authored
Create behaviour change note
1 parent 90d8a75 commit ce3ab76

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
``loc='best'`` for ``legend`` now considers ``Text`` and ``PolyCollections``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
The location selection ``legend`` now considers the existence of ``Text``
5+
and ``PolyCollections`` in the ``badness`` calculation.
6+
7+
Note: The ``best`` option can already be quite slow for plots with large
8+
amounts of data. For ``PolyCollections``, it only considers the ``Path``
9+
of ``PolyCollections`` and not the enclosed area when checking for overlap
10+
to reduce additional latency. However, it can still be quite slow when
11+
there are large amounts of ``PolyCollections`` in the plot to check for.

0 commit comments

Comments
 (0)