Skip to content

ENH: Plotting support for ExtensionArrays - #28

Open
xirafa wants to merge 27 commits into
mainfrom
Julian-Harbeck/plotting-support-ea
Open

ENH: Plotting support for ExtensionArrays#28
xirafa wants to merge 27 commits into
mainfrom
Julian-Harbeck/plotting-support-ea

Conversation

@xirafa

@xirafa xirafa commented Jul 28, 2026

Copy link
Copy Markdown

Mirror of pandas-dev/pandas#64535. Runs the pandas test suite through dagz.

Julian-Harbeck and others added 24 commits March 11, 2026 18:43
- Add `_is_plotable` flag to ExtensionDtype
- Add `_get_plot_converter()` method to ExtensionDtype to get type and ConversionInterface for matplotlib units registry
- Include EAs in registration of ConversionInterfaces to matplotlib
- Include plotable EA dtypes in `_compute_plot_data` dtype selection
…ing by default just return `None` in `_get_plot_converter`
…xtensionDtype: `DatetimeTZDtype`/`PeriodDtype`
…ity:

- Includes tests `test_plot_on_x_axis` and `test_plot_on_y_axis`
- Extends `ExtensionTests` to also inherit from `BasePlottingTests`
- Adds `xfail` or `skip` marker to EAs test that cannot be plotted
…class as pyparsing is not available in every CI job
@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@xirafa, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 94dc638d-b240-4246-bf66-04bc3820307a

📥 Commits

Reviewing files that changed from the base of the PR and between 025475b and 81a8dba.

📒 Files selected for processing (14)
  • pandas/core/dtypes/base.py
  • pandas/core/dtypes/dtypes.py
  • pandas/plotting/_matplotlib/converter.py
  • pandas/plotting/_matplotlib/core.py
  • pandas/tests/extension/base/__init__.py
  • pandas/tests/extension/base/plotting.py
  • pandas/tests/extension/json/test_json.py
  • pandas/tests/extension/test_arrow.py
  • pandas/tests/extension/test_categorical.py
  • pandas/tests/extension/test_datetime.py
  • pandas/tests/extension/test_interval.py
  • pandas/tests/extension/test_numpy.py
  • pandas/tests/extension/test_period.py
  • pandas/tests/extension/test_string.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch Julian-Harbeck/plotting-support-ea

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@xirafa
xirafa force-pushed the main branch 4 times, most recently from d07e2c6 to 499a072 Compare July 28, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants