[GRASS-git] [OSGeo/grass] a3785a: tplot/frame.py: fixes for Matplotlib 3.3+ (#1191)

Markus Neteler noreply at github.com
Mon Dec 21 09:34:53 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: a3785a5c666f32682a66b63988c83332ead4b945
      https://github.com/OSGeo/grass/commit/a3785a5c666f32682a66b63988c83332ead4b945
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2020-12-21 (Mon, 21 Dec 2020)

  Changed paths:
    M gui/wxpython/timeline/frame.py
    M gui/wxpython/tplot/frame.py

  Log Message:
  -----------
  tplot/frame.py: fixes for Matplotlib 3.3+ (#1191)

* tplot/frame.py: fix for Matplotlib 3.3+

Reason: The iterable function was deprecated in Matplotlib 3.1 and will be removed in 3.3. Use np.iterable instead.

Inspired by https://github.com/stonebig/plotnine/commit/2044a91c37ba2e732fcd823fddb07cb7f5f06977

* fix set_picker deprecation warning

* remove unused cbook import

* fixes for Matplotlib 3.3+




More information about the grass-commit mailing list