-
Notifications
You must be signed in to change notification settings - Fork 19
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
add taylordiagram example #186
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example looks great!
Caught a couple of things to sort out though (see the comments).
docs/examples/taylor.ipynb
Outdated
"# `set_titles_and_labels`\n", | ||
"\n", | ||
"This notebook is a simple example of the GeoCAT-viz function <a href=\"../user_api/generated/geocat.viz.util.set_titles_and_labels.html#geocat-viz.util.set_titles_and_labels\">set_titles_and_labels</a>." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this got missed.
It looks like it's causing the index on the left to be incorrect as well. I couldn't find the example at first.
https://geocat-viz--186.org.readthedocs.build/en/186/examples/taylor.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm it seems like a commit didn't publish? Because I definitely changed this locally. The link seems off too
docs/examples/taylor.ipynb
Outdated
"import numpy as np\n", | ||
"import xarray as xr\n", | ||
"\n", | ||
"import cftime\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example seems to be failing on the cftime import (though not loudly - which is concerning).
https://geocat-viz--186.org.readthedocs.build/en/186/examples/taylor.html
Do we need this or is it something we could strip out?
PR Summary
Adds Taylor Diagram example script
Related to #126
PR Checklist
General
closes #XXX
to the PR description where XXX is the number of the issue.docs/release-notes.rst
in a relevant section for the next unreleased release. Possible sections include: Documentation, New Features, Bug Fixes, Internal Changes, Breaking Changes/Deprecatedprecommit
. To set up on your local, runpre-commit install
from the top level of the repository. To manually run pre-commits, usepre-commit run --all-files
and re-add any changed files before committing again and pushing.Examples
docs/examples/
folderdocs/examples.rst
toctreedocs/gallery.yml
with appropriate thumbnail photo indocs/_static/thumbnails/