Skip to content

Conversation

@oscargus
Copy link
Member

PR Summary

Related to #24732 (comment)

Now, date2num does not strip any mask information.

PR Checklist

Documentation and Tests

  • Has pytest style unit tests (and pytest passes)
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • New plotting related features are documented with examples.

Release Notes

  • New features are marked with a .. versionadded:: directive in the docstring and documented in doc/users/next_whats_new/
  • API changes are marked with a .. versionchanged:: directive in the docstring and documented in doc/api/next_api_changes/
  • Release notes conform with instructions in next_whats_new/README.rst or next_api_changes/README.rst

@oscargus oscargus marked this pull request as draft December 15, 2022 16:14
@oscargus
Copy link
Member Author

Thanks for your good reviews @rcomer and @chahak13 !

I came up with a slightly different solution as astimezone didn't exist for MaskedConstant. Now, both paths are tested using masked dates.

@oscargus oscargus marked this pull request as ready for review December 15, 2022 20:55
@oscargus oscargus added this to the v3.7.0 milestone Dec 15, 2022
@rcomer rcomer merged commit 60dd992 into matplotlib:main Dec 16, 2022
@oscargus oscargus deleted the maskeddates branch December 16, 2022 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants