Add test_boxplot to test_datetime.py by shriyakalakata · Pull Request #27502 · matplotlib/matplotlib · GitHub
Skip to content

Add test_boxplot to test_datetime.py - #27502

Closed
shriyakalakata wants to merge 1 commit into
matplotlib:mainfrom
shriyakalakata:boxplot
Closed

Add test_boxplot to test_datetime.py#27502
shriyakalakata wants to merge 1 commit into
matplotlib:mainfrom
shriyakalakata:boxplot

Conversation

@shriyakalakata

Copy link
Copy Markdown
Contributor

PR summary

I have added a datetime smoke test/example code under the test_boxplot method in lib/matplotlib/test/test_datetime.py. This addresses the Axes.boxplot task from #26864.

Here, since the statistical measures in boxplots don't translate well to dates, we convert dates to physical units.
(Using advice from @ksunden 's comment on #27485)

The plots generated from the latest test code:
boxplot

PR checklist

@ksunden

ksunden commented Dec 12, 2023

Copy link
Copy Markdown
Member

@shriyakalakata

Copy link
Copy Markdown
Contributor Author

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