Most of our docstrings don't have runnable examples. Let's add some >>> examples to the more commonly used public functions (Grid, UxDataArray, UxDataset), and add a CI step to actually run them (pytest --doctest-modules or similar) so they don't rot over time.
Most of our docstrings don't have runnable examples. Let's add some
>>>examples to the more commonly used public functions (Grid, UxDataArray, UxDataset), and add a CI step to actually run them (pytest --doctest-modulesor similar) so they don't rot over time.