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

Skip to content

Commit a7f4397

Browse files
committed
FIX: force blended transforms with data to be in data space
1 parent bb75f73 commit a7f4397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def get_datalim(self, transData):
219219
# get_path_collection_extents handles nan but not masked arrays
220220

221221
if len(paths) and len(offsets):
222-
if transform.contains_branch(transData):
222+
if any(transform.contains_branch_seperately(transData)):
223223
# collections that are just in data units (like quiver)
224224
# can properly have the axes limits set by their shape +
225225
# offset. LineCollections that have no offsets can

0 commit comments

Comments
 (0)