[GRASS-git] [OSGeo/grass] fd19e9: jupyter: Add `__getattr__` shortcut for calling GR...

Caitlin H. noreply at github.com
Thu Jul 29 14:20:34 PDT 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: fd19e91c70080ff6b84d7e4f17408e1b9d946318
      https://github.com/OSGeo/grass/commit/fd19e91c70080ff6b84d7e4f17408e1b9d946318
  Author: Caitlin H <69856275+chaedri at users.noreply.github.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M doc/notebooks/jupyter_integration.ipynb
    M python/grass/jupyter/display.py

  Log Message:
  -----------
  jupyter: Add `__getattr__` shortcut for calling GRASS display modules (#1723)

Shortcut allowing users to call GRASS display modules (d.*) with method .d_*.
Method name must start with d and underscore and it needs to be an executable on path,
other error handling is left to the underlying functions. Example is in the Jupyter integration notebook.




More information about the grass-commit mailing list