Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
iandw wants to merge5 commits intomatplotlib:mainfromiandw:TEST---adding-new-axes.table-date-time-test
Closed

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

iandw wants to merge5 commits intomatplotlib:mainfromiandw:TEST---adding-new-axes.table-date-time-test

Conversation

iandw
Copy link

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

@iandwiandw marked this pull request as ready for reviewSeptember 23, 2023 14:25
@ksunden
Copy link
Member

Hmmm... This is one that it isn't actually exercising theunits functionality, and is instead just being passed throughstr(x) as text cells...

I think this is correct behavior, and have noreal dispersion to testing it, but it is an outlier compared to e.g.plot/scatter.

Thoughts@tacaswell?

@oscargus
Copy link
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 reacted with thumbs up emoji

@jklymak
Copy link
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
Copy link
Author

I agree with all the feedback, I wasn't quite sure how to test this for date time either LOL, appreciate the honesty! Will close this for now, it was just a good experience to learn more about contributing to open source at GHC! Thanks all :)

@iandwiandw closed thisSep 28, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@iandw@ksunden@oscargus@jklymak

[8]ページ先頭

©2009-2025 Movatter.jp