umr-lops / xsar

Synthetic Aperture Radar (SAR) Level-1 GRD python mapper for efficient xarray/dask based processing
https://cyclobs.ifremer.fr/static/sarwing_datarmor/xsar/
MIT License
29 stars 8 forks source link

`matplotlib` is mandatory dependency whenever `xsar` is imported in a ipython notebook #240

Closed agrouaze closed 5 days ago

agrouaze commented 5 days ago

this line : https://github.com/umr-lops/xsar/blob/f99ba652612855bfd6e432c0e662b0af8e2580d6/src/xsar/sentinel1_meta.py#L16 triggers import of geoviews, holoviews ,.... and then matplotlib inside a try-except .

agrouaze commented 5 days ago

The "installation" page of the documentation gives a precision for xsar within a notebook : https://github.com/umr-lops/xsar/blob/f99ba652612855bfd6e432c0e662b0af8e2580d6/docs/installing.rst?plain=1#L111