@@ -89,10 +89,10 @@ def __init__(self, xratios, yratios, mainax_x, figsize, **kwargs):
89
89
'right' : ['top' , 'bottom' , 'left' ],
90
90
'none' : ['top' , 'bottom' , 'left' ,
91
91
'right' ]},
92
- 'bottom' : {'left' : ['top' , 'right' ],
93
- 'right' : ['top' , 'left' ],
94
- 'none' : ['top' , 'left' ,
95
- 'right' ]},
92
+ 'bottom' : {'left' : ['top' , 'right' ],
93
+ 'right' : ['top' , 'left' ],
94
+ 'none' : ['top' , 'left' ,
95
+ 'right' ]},
96
96
'both' : {'left' : ['right' ],
97
97
'right' : ['left' ],
98
98
'none' : ['right' , 'left' ]}}
@@ -126,10 +126,10 @@ def __init__(self, xratios, yratios, mainax_x, figsize, **kwargs):
126
126
'bottom' : ['top' , 'left' , 'right' ],
127
127
'none' : ['top' , 'bottom' , 'left' ,
128
128
'right' ]},
129
- 'right' : {'top' : ['bottom' , 'left' ],
130
- 'bottom' : ['top' , 'left' ],
131
- 'none' : ['top' , 'bottom' ,
132
- 'left' ]},
129
+ 'right' : {'top' : ['bottom' , 'left' ],
130
+ 'bottom' : ['top' , 'left' ],
131
+ 'none' : ['top' , 'bottom' ,
132
+ 'left' ]},
133
133
'both' : {'top' : ['bottom' ],
134
134
'bottom' : ['top' ],
135
135
'none' : ['top' , 'bottom' ]}}
@@ -183,6 +183,8 @@ def set_stackposition(self, onespine_forboth):
183
183
# Position list in the case of a stack of 1
184
184
if self .stackdim == 1 :
185
185
if onespine_forboth :
186
+ if self .mainax_id is 'x' :
187
+ self .startpos = 'bottom'
186
188
self .stackpos_list = [self .startpos ]
187
189
else :
188
190
self .stackpos_list = ['both' ]
@@ -574,7 +576,7 @@ def autocolor_spines(self, ticks_only=False):
574
576
except AttributeError :
575
577
color = ax .get_children ()[2 ].get_facecolor ()
576
578
if len (color ) < 3 :
577
- color = color [0 ]
579
+ color = color [0 ]
578
580
self .set_axcolor (ax , color , ticks_only = ticks_only )
579
581
580
582
def set_axcolor (self , ax , color , ticks_only = False , spines_only = False ):
@@ -718,7 +720,7 @@ def draw_bar(self, ll_axis, ur_axis, bar_limits, orientation='vertical',
718
720
self .bf_llaxis .append (ll_axis )
719
721
self .bf_uraxis .append (ur_axis )
720
722
721
- ll_corner = self ._convert_coords (ll_axis , (lldx , lldy ))
723
+ ll_corner = self ._convert_coords (ll_axis , (lldx , lldy ))
722
724
ur_corner = self ._convert_coords (ur_axis , (urdx , urdy ))
723
725
724
726
width , height = self ._rect_dim (ur_corner , ll_corner )
0 commit comments