File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 29
29
2014-03-27 Added tests for pie ccw parameter. Removed pdf and svg images
30
30
from tests for pie linewidth parameter.
31
31
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
+
32
37
2014-03-24 Added bool kwarg (manage_xticks) to boxplot to enable/disable
33
38
the managemnet of the xlimits and ticks when making a boxplot.
34
39
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):
1556
1556
# the auto-scaling
1557
1557
1558
1558
# 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.
1559
1561
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 ()))):
1561
1563
return
1562
1564
vertices = patch .get_path ().vertices
1563
1565
if vertices .size > 0 :
You can’t perform that action at this time.
0 commit comments