xarray-tutorial
xarray-tutorial copied to clipboard
sphinx-codeautolink improvements
Based on discussion in #82
- [x] adds underlines to linked code docs
- [x] does some mapping to xarray api
Lots of warnings! Would need to add lots of manual mappings for completeness... and even then it doesn't pick up things like da.resample and da.isel below because it doesn't realize that da is a DataAarray:
da = xr.tutorial.load_dataset("air_temperature", engine="netcdf4").air
monthly = da.resample(time="ME").mean()
data = da.isel(time=0)
Even so, I think the underline and hover color are nice additions
π PR Preview 2e3e0f53e0b297d506c5a8b54edecd5bbf073330 has been successfully built and deployed to https://xarray-contrib-xarray-tutorial-preview-pr-281.surge.sh
π Build time: 0.01s
π€ By surge-preview
Check out this pull request onΒ ![]()
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
