File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 29292014-03-27 Added tests for pie ccw parameter. Removed pdf and svg images
3030 from tests for pie linewidth parameter.
3131
32+ 2014-03-24 Changed the behaviour of axes to not ignore leading or trailing
33+ patches of height 0 (or width 0) while calculating the x and y
34+ axis limits. Patches having both height == 0 and width == 0 are
35+ ignored.
36+
32372014-03-24 Added bool kwarg (manage_xticks) to boxplot to enable/disable
3338 the managemnet of the xlimits and ticks when making a boxplot.
3439 Default in True which maintains current behavior by default.
Original file line number Diff line number Diff line change @@ -1556,8 +1556,10 @@ def _update_patch_limits(self, patch):
15561556 # the auto-scaling
15571557
15581558 # cannot check for '==0' since unitized data may not compare to zero
1559+ # issue #2150 - we update the limits if patch has non zero width
1560+ # or height.
15591561 if (isinstance (patch , mpatches .Rectangle ) and
1560- ((not patch .get_width ()) or (not patch .get_height ()))):
1562+ ((not patch .get_width ()) and (not patch .get_height ()))):
15611563 return
15621564 vertices = patch .get_path ().vertices
15631565 if vertices .size > 0 :
You can’t perform that action at this time.
0 commit comments