You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUG: Fixed issue with bar plots not stacking correctly when 'stacked' and 'subplots' are used together (#61340)
* test case for subplot stacking
* Removed overlooked print statement
* Updated test to check other subplot in figure
* Updated test cases to include more subplot stacking possibilities
* removed savefig() left in test cases
* Updated test cases to test more arrangements
* Completed function fix (order of subplot input does not matter, need clarification if it matters)
* appeasing the great pre-commit formatter
* Updated whatsnew
* Docstring adjustment
* Moved self.subplot check to a seperate bool
* Added ignore where mypy thinks self.subplots is a bool
* Actually addressed mypy typing
* Incorperated initial PR comments
* Updated missing () after .all
* Addressed more comments on PR
* Updated '&' to 'and'
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v3.0.0.rst
+1
Original file line number
Diff line number
Diff line change
@@ -795,6 +795,7 @@ Period
795
795
Plotting
796
796
^^^^^^^^
797
797
- Bug in :meth:`.DataFrameGroupBy.boxplot` failed when there were multiple groupings (:issue:`14701`)
798
+
- Bug in :meth:`DataFrame.plot.bar` when ``subplots`` and ``stacked=True`` are used in conjunction which causes incorrect stacking. (:issue:`61018`)
798
799
- Bug in :meth:`DataFrame.plot.bar` with ``stacked=True`` where labels on stacked bars with zero-height segments were incorrectly positioned at the base instead of the label position of the previous segment (:issue:`59429`)
799
800
- Bug in :meth:`DataFrame.plot.line` raising ``ValueError`` when set both color and a ``dict`` style (:issue:`59461`)
800
801
- Bug in :meth:`DataFrame.plot` that causes a shift to the right when the frequency multiplier is greater than one. (:issue:`57587`)
0 commit comments