Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create gallery example for datetime inputs #779

Merged
merged 10 commits into from
Jan 3, 2021

Conversation

michaelgrund
Copy link
Member

Based on #464 and #549 I prepared a gallery example for plotting datetime inputs which includes:

  • numpy.datetime64
  • pandas.DateTimeIndex
  • xarray.DataArray with 'datetime64' dtype
  • Raw datetime strings in ISO format
  • Python's built-in datetime and date

Based on GenericMappingTools#464 and GenericMappingTools#549 I prepared a gallery example for plotting datetime inputs.
@michaelgrund
Copy link
Member Author

/format

examples/gallery/plot/datetime-inputs.py Outdated Show resolved Hide resolved
examples/gallery/plot/datetime-inputs.py Outdated Show resolved Hide resolved
examples/gallery/plot/datetime-inputs.py Outdated Show resolved Hide resolved
@seisman seisman added the documentation Improvements or additions to documentation label Jan 1, 2021
@seisman seisman added this to the 0.3.0 milestone Jan 1, 2021
examples/gallery/plot/datetime-inputs.py Outdated Show resolved Hide resolved
examples/gallery/plot/datetime-inputs.py Outdated Show resolved Hide resolved
examples/gallery/plot/datetime-inputs.py Outdated Show resolved Hide resolved
@michaelgrund
Copy link
Member Author

/format

@seisman seisman merged commit 7181cf1 into GenericMappingTools:master Jan 3, 2021
@michaelgrund
Copy link
Member Author

Thanks for your careful review @seisman 😉

sixy6e pushed a commit to sixy6e/pygmt that referenced this pull request Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants