Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

BUG: Handle overlapping line and bar on the same plot #61173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Apr 18, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into plot
  • Loading branch information
MartinBraquet authored Apr 9, 2025
commit 392d2b54549218b73e68611d82d5333688e39e3c
5 changes: 3 additions & 2 deletions 5 doc/source/whatsnew/v3.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -762,8 +762,9 @@ Plotting
- Bug in :meth:`.DataFrameGroupBy.boxplot` failed when there were multiple groupings (:issue:`14701`)
- 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`)
- Bug in :meth:`DataFrame.plot.line` raising ``ValueError`` when set both color and a ``dict`` style (:issue:`59461`)
- Bug in :meth:`DataFrame.plot` that causes a shift to the right when the frequency multiplier is greater than one. (:issue:`57587`)
- Bug in :meth:`Series.plot` preventing a line and bar from being aligned on the same plot (:issue:`61161`)
- Bug in :meth:`DataFrame.plot` that causes a shift to the right when the frequency multiplier is greater than one. (:issue:`57587`
MartinBraquet marked this conversation as resolved.
Show resolved Hide resolved
- Bug in :meth:`Series.plot` preventing a line and bar from being aligned on the same plot (:issue:`611
MartinBraquet marked this conversation as resolved.
Show resolved Hide resolved
- Bug in :meth:`Series.plot` preventing a line and scatter plot from being aligned (:issue:`6100
MartinBraquet marked this conversation as resolved.
Show resolved Hide resolved
- Bug in :meth:`Series.plot` with ``kind="pie"`` with :class:`ArrowDtype` (:issue:`59192`)

Groupby/resample/rolling
Expand Down
2 changes: 1 addition & 1 deletion 2 pandas/plotting/_matplotlib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def _is_ts_plot(self) -> bool:

@final
def _use_dynamic_x(self) -> bool:
return use_dynamic_x(self._get_ax(0), self.data)
return use_dynamic_x(self._get_ax(0), self.data.index)

@final
@staticmethod
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.