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

Fix FutureWarning caused by usage of xarray.Dataset.dims #1935

Merged
merged 5 commits into from
May 10, 2024

Conversation

mcflugen
Copy link
Member

@mcflugen mcflugen commented May 10, 2024

Description

This pull request fixes #1910. I've just replaced usages of Dataset.dims with Dataset.sizes.

Checklist - did you ...

  • Add a news fragment file entry if necessary?
  • Add / update tests if necessary?
  • Add new / update outdated documentation?
  • All tests have passed?
  • Formatted code with black?
  • Removed lint reported by flake8?
  • Sucessful documentation built? (if documentation added or modified)

@coveralls
Copy link

Coverage Status

coverage: 85.904%. remained the same
when pulling 4294f9d on mcflugen/fix-xarray-dims-warning
into 24270c1 on master.

@mcflugen mcflugen merged commit dea91fc into master May 10, 2024
34 checks passed
@mcflugen mcflugen deleted the mcflugen/fix-xarray-dims-warning branch May 10, 2024 22:15
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.

Future Warning landlab.plot.graph.plot_graph()
2 participants