[GRASS-git] [OSGeo/grass] 86acc1: Jupyter: Add non-interactive display (#1668)

Caitlin H. noreply at github.com
Fri Jul 2 11:25:42 PDT 2021


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

  Changed paths:
    M doc/notebooks/jupyter_integration.ipynb
    M python/grass/jupyter/Makefile
    M python/grass/jupyter/__init__.py
    A python/grass/jupyter/display.py
    M python/grass/jupyter/setup.py

  Log Message:
  -----------
  Jupyter: Add non-interactive display (#1668)

* Non-interactive display functions with rendering based on d-commands.
* Rendering encapsulated in a class. Each object holds unique settings.
* Examples in notebook are now showing this new API.
* Deleted display_settings function.
* Rendering class init accepts env parameter as all well-behaved functions in grass.script.
* grass.script is used as a backend for running commands.
* Rendering run method provides general way of rendering with any d-command (which is not monitor-focused).
* Errors reported as exceptions, e.g., ValueError.
* Added pathlib Path object supported for filenames.




More information about the grass-commit mailing list