File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -250,14 +250,12 @@ def get_spine_transform(self):
250250
251251 if what == 'data' :
252252 # special case data based spine locations
253+ data_xform = self .axes .transScale + \
254+ (how + self .axes .transLimits + self .axes .transAxes )
253255 if self .spine_type in ['left' ,'right' ]:
254- data_xform = self .axes .transScale + \
255- (how + self .axes .transLimits + self .axes .transAxes )
256256 result = mtransforms .blended_transform_factory (
257257 data_xform ,self .axes .transData )
258258 elif self .spine_type in ['top' ,'bottom' ]:
259- data_xform = self .axes .transScale + \
260- (how + self .axes .transLimits + self .axes .transAxes )
261259 result = mtransforms .blended_transform_factory (
262260 self .axes .transData ,data_xform )
263261 else :
You can’t perform that action at this time.
0 commit comments