TST - Adding test_table() to test_datetimes.py by iandw · Pull Request #26898 · matplotlib/matplotlib · GitHub
Skip to content

TST - Adding test_table() to test_datetimes.py - #26898

Closed
iandw wants to merge 5 commits into
matplotlib:mainfrom
iandw:TEST---adding-new-axes.table-date-time-test
Closed

TST - Adding test_table() to test_datetimes.py#26898
iandw wants to merge 5 commits into
matplotlib:mainfrom
iandw:TEST---adding-new-axes.table-date-time-test

Conversation

@iandw

@iandw iandw commented Sep 23, 2023

Copy link
Copy Markdown

PR summary

Adding a new test called "test_table" inside of the test_datetimes.py that tests that the axes.table function can generate a plot with datetime arrays.
Screenshot 2023-09-23 at 8 36 22 AM
Part of issue #26859 but does not close this issue fully.

PR checklist

@iandw
iandw marked this pull request as ready for review September 23, 2023 14:25
@ksunden

ksunden commented Sep 25, 2023

Copy link
Copy Markdown
Member

@oscargus

Copy link
Copy Markdown
Member

Maybe one can simply use the difference between the column and row heading dates as cell values?

I somewhat agree with @ksunden but no harm to test this (although not obvious what could possibly break...).

@jklymak

jklymak commented Sep 28, 2023

Copy link
Copy Markdown
Member

@iandw thanks a lot for working on this, but I largely agree this isn't testing out handling of datetimes. I don't know what a reasonable test for datetimes would look like on a table as I don't think they map data to a coordinate.

@iandw

iandw commented Sep 28, 2023

Copy link
Copy Markdown
Author

@iandw iandw closed this Sep 28, 2023
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.

4 participants