8000 FIX: force bended transforms with data to be in data space · matplotlib/matplotlib@eb343fd · GitHub
[go: up one dir, main page]

Skip to content

Commit eb343fd

Browse files
committed
FIX: force bended transforms with data to be in data space
1 parent 2bdf82b commit eb343fd

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
@@ -221,7 +221,7 @@ def get_datalim(self, transData):
221221
# get_path_collection_extents handles nan but not masked arrays
222222

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

0 commit comments

Comments
 (0)
0