@@ -5638,33 +5638,33 @@ def test_share_transitive():
5638
5638
C = fig .add_subplot (413 )
5639
5639
D = fig .add_subplot (414 )
5640
5640
5641
- # C -> D
5642
- share = getattr (C , "share_{}_axes" .format (ax ))
5643
- share (D , symmetric = False , transitive = False )
5641
+ # B->C
5642
+ share = getattr (B , "share_{}_axes" .format (ax ))
5643
+ share (C , symmetric = False , transitive = False )
5644
5644
5645
- # A -> B
5645
+ # A->D
5646
5646
share = getattr (A , "share_{}_axes" .format (ax ))
5647
- share (B , symmetric = False , transitive = False )
5647
+ share (D , symmetric = False , transitive = False )
5648
5648
5649
- # A -> C, C -> A, C -> B, A -> D
5650
- share (C , symmetric = True , transitive = True )
5649
+ # A->B, A->D, B->C then A->C, C-> A, B->D, D-> B, and B->A
5650
+ share (B , symmetric = True , transitive = True )
5651
5651
5652
5652
# Symmetric test between A and C
5653
5653
assert _symmetric (A , C , ax )
5654
5654
5655
- # A -> B but not B -> C
5656
- assert _asymmetric (A , B , ax )
5655
+ # Symmetric test between A and B
5656
+ assert _symmetric (A , B , ax )
5657
5657
5658
- # C -> B but not B -> C
5659
- assert _asymmetric ( C , B , ax )
5658
+ # Symmetric test between B and D
5659
+ assert _symmetric ( B , D , ax )
5660
5660
5661
- # A -> D but not D -> D
5662
- assert _asymmetric (A , D , ax )
5661
+ # B->C
5662
+ assert _asymmetric (B , C , ax )
5663
5663
5664
- # C -> D but not D -> C
5665
- assert _asymmetric (C , D , ax )
5664
+ # A->D
5665
+ assert _asymmetric (A , D , ax )
5666
5666
5667
- assert _no_relation (B , D , ax )
5667
+ assert _no_relation (C , D , ax )
5668
5668
5669
5669
plt .close (fig )
5670
5670
0 commit comments