python error

Issue #30 new
Agustin Lobo created an issue

I get this when I try to make an scatter/density plot

2021-12-20T17:31:57     WARNING    Traceback (most recent call last):
              File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 172, in onMapCanvasRenderComplete
              self.readData()
              File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 209, in readData
              self.dataReaderRoi.read()
              File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 1137, in read
              self._readWholeRaster()
              File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 1155, in _readWholeRaster
              self._rasterizeColor(extent=referenceLayer.extent(),
              File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 1168, in _rasterizeColor
              assert isinstance(layer, QgsVectorLayer)
             AssertionError

Comments (2)

  1. Andreas Janz repo owner

    I would guess, that you somewhere select a vector layer instead of a raster layer.

    Please show a screenshot.

  2. Agustin Lobo reporter

    No, just 2 raster layers.

    https://www.dropbox.com/s/9vdjxsbpsfexfiq/v2t2ndvicoarse.tif?dl=0

    https://www.dropbox.com/s/s5wl1m1prnhe20b/v2t2coarse.tif?dl=0

    And the python log is actually a lot longer (I was reproducing just the last one)

    2021-12-22T08:59:28     WARNING    warning:/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/geetimeseriesexplorer/site/pyqtgraph/graphicsItems/PlotItem/PlotItem.py:340: DeprecationWarning: an integer is required (got type numpy.float64). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
                  self.ctrl.gridAlphaSlider.setValue(v)

                 traceback: File "", line 1, in
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 448, in startPlugin
                  plugins[packageName].initGui()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/geetimeseriesexplorer/plugin.py", line 19, in initGui
                  self.ui = DockWidget(iface=self.iface, parent=self.iface.parent())
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/geetimeseriesexplorer/dockwidget.py", line 127, in __init__
                  self._initGui()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/geetimeseriesexplorer/dockwidget.py", line 171, in _initGui
                  self.mPlotWidget.showGrid(x=True, y=True, alpha=1.)
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/geetimeseriesexplorer/site/pyqtgraph/graphicsItems/PlotItem/PlotItem.py", line 340, in showGrid
                  self.ctrl.gridAlphaSlider.setValue(v)

    2021-12-22T08:59:29     WARNING    warning:/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/profiletool/pyqtgraph/functions.py:41: DeprecationWarning:

                 Flags not at the start of the expression '(?P[+-]?((((' (truncated)


                 traceback: File "", line 1, in
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 443, in startPlugin
                  if not _startPlugin(packageName):
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 423, in _startPlugin
                  plugins[packageName] = package.classFactory(iface)
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/profiletool/__init__.py", line 28, in classFactory
                  from .profileplugin import ProfilePlugin
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
                  mod = _builtin_import(name, globals, locals, fromlist, level)
                  File "", line 1007, in _find_and_load
                  File "", line 986, in _find_and_load_unlocked
                  File "", line 680, in _load_unlocked
                  File "", line 855, in exec_module
                  File "", line 228, in _call_with_frames_removed
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/profiletool/profileplugin.py", line 41, in
                  from .tools.profiletool_core import ProfileToolCore
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
                  mod = _builtin_import(name, globals, locals, fromlist, level)
                  File "", line 1007, in _find_and_load
                  File "", line 986, in _find_and_load_unlocked
                  File "", line 680, in _load_unlocked
                  File "", line 855, in exec_module
                  File "", line 228, in _call_with_frames_removed
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/profiletool/tools/profiletool_core.py", line 48, in
                  from ..ui.ptdockwidget import PTDockWidget
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
                  mod = _builtin_import(name, globals, locals, fromlist, level)
                  File "", line 1007, in _find_and_load
                  File "", line 986, in _find_and_load_unlocked
                  File "", line 680, in _load_unlocked
                  File "", line 855, in exec_module
                  File "", line 228, in _call_with_frames_removed
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/profiletool/ui/ptdockwidget.py", line 40, in
                  from ..tools.plottingtool import *
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
                  mod = _builtin_import(name, globals, locals, fromlist, level)
                  File "", line 1007, in _find_and_load
                  File "", line 986, in _find_and_load_unlocked
                  File "", line 680, in _load_unlocked
                  File "", line 855, in exec_module
                  File "", line 228, in _call_with_frames_removed
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/profiletool/tools/plottingtool.py", line 44, in
                  from .. import pyqtgraph as pg
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
                  mod = _builtin_import(name, globals, locals, fromlist, level)
                  File "", line 1058, in _handle_fromlist
                  File "", line 228, in _call_with_frames_removed
                  File "", line 1007, in _find_and_load
                  File "", line 986, in _find_and_load_unlocked
                  File "", line 680, in _load_unlocked
                  File "", line 855, in exec_module
                  File "", line 228, in _call_with_frames_removed
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/profiletool/pyqtgraph/__init__.py", line 202, in
                  from .graphicsItems.VTickGroup import *
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
                  mod = _builtin_import(name, globals, locals, fromlist, level)
                  File "", line 1007, in _find_and_load
                  File "", line 986, in _find_and_load_unlocked
                  File "", line 680, in _load_unlocked
                  File "", line 855, in exec_module
                  File "", line 228, in _call_with_frames_removed
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/profiletool/pyqtgraph/graphicsItems/VTickGroup.py", line 7, in
                  from .. import functions as fn
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
                  mod = _builtin_import(name, globals, locals, fromlist, level)
                  File "", line 1058, in _handle_fromlist
                  File "", line 228, in _call_with_frames_removed
                  File "", line 1007, in _find_and_load
                  File "", line 986, in _find_and_load_unlocked
                  File "", line 680, in _load_unlocked
                  File "", line 855, in exec_module
                  File "", line 228, in _call_with_frames_removed
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/profiletool/pyqtgraph/functions.py", line 41, in
                  FLOAT_REGEX = re.compile(r'(?P[+-]?((((\d+(\.\d*)?)|(\d*\.\d+))([eE][+-]?\d+)?)|((?i)(nan)|(inf))))\s*((?P[u' + SI_PREFIXES + r']?)(?P\w.*))?$')
                  File "/usr/lib/python3.9/re.py", line 252, in compile
                  return _compile(pattern, flags)
                  File "/usr/lib/python3.9/re.py", line 304, in _compile
                  p = sre_compile.compile(pattern, flags)
                  File "/usr/lib/python3.9/sre_compile.py", line 764, in compile
                  p = sre_parse.parse(p, flags)
                  File "/usr/lib/python3.9/sre_parse.py", line 948, in parse
                  p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
                  File "/usr/lib/python3.9/sre_parse.py", line 443, in _parse_sub
                  itemsappend(_parse(source, state, verbose, nested + 1,
                  File "/usr/lib/python3.9/sre_parse.py", line 834, in _parse
                  p = _parse_sub(source, state, sub_verbose, nested + 1)
                  File "/usr/lib/python3.9/sre_parse.py", line 443, in _parse_sub
                  itemsappend(_parse(source, state, verbose, nested + 1,
                  File "/usr/lib/python3.9/sre_parse.py", line 834, in _parse
                  p = _parse_sub(source, state, sub_verbose, nested + 1)
                  File "/usr/lib/python3.9/sre_parse.py", line 443, in _parse_sub
                  itemsappend(_parse(source, state, verbose, nested + 1,
                  File "/usr/lib/python3.9/sre_parse.py", line 834, in _parse
                  p = _parse_sub(source, state, sub_verbose, nested + 1)
                  File "/usr/lib/python3.9/sre_parse.py", line 443, in _parse_sub
                  itemsappend(_parse(source, state, verbose, nested + 1,
                  File "/usr/lib/python3.9/sre_parse.py", line 809, in _parse
                  warnings.warn(

    2021-12-22T08:59:32     WARNING    warning:/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/extlibs_linux/ee/data.py:230: ResourceWarning:

                 unclosed file


                 traceback: File "", line 1, in
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 443, in startPlugin
                  if not _startPlugin(packageName):
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 423, in _startPlugin
                  plugins[packageName] = package.classFactory(iface)
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qgis_gee_data_catalog/__init__.py", line 33, in classFactory
                  from .qgis_gee_data_catalog import GeeDataCatalog
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/__init__.py", line 32, in __wrapping_ee_import__
                  _module_ = __builtin_import__(name, *args, **kwargs)
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
                  mod = _builtin_import(name, globals, locals, fromlist, level)
                  File "", line 1007, in _find_and_load
                  File "", line 986, in _find_and_load_unlocked
                  File "", line 680, in _load_unlocked
                  File "", line 855, in exec_module
                  File "", line 228, in _call_with_frames_removed
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qgis_gee_data_catalog/qgis_gee_data_catalog.py", line 26, in
                  from .ee_interface import (add_ee_image_layer, download_ee_image_layer,
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/__init__.py", line 32, in __wrapping_ee_import__
                  _module_ = __builtin_import__(name, *args, **kwargs)
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
                  mod = _builtin_import(name, globals, locals, fromlist, level)
                  File "", line 1007, in _find_and_load
                  File "", line 986, in _find_and_load_unlocked
                  File "", line 680, in _load_unlocked
                  File "", line 855, in exec_module
                  File "", line 228, in _call_with_frames_removed
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qgis_gee_data_catalog/ee_interface.py", line 6, in
                  import ee
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/__init__.py", line 36, in __wrapping_ee_import__
                  _module_.Initialize()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/extlibs_linux/ee/__init__.py", line 114, in Initialize
                  credentials = data.get_persistent_credentials()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/extlibs_linux/ee/data.py", line 230, in get_persistent_credentials
                  tokens = json.load(open(oauth.get_credentials_path()))
                  File "/usr/lib/python3.9/warnings.py", line 109, in _showwarnmsg
                  sw(msg.message, msg.category, msg.filename, msg.lineno,

    2021-12-22T08:59:32     WARNING    warning:/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/extlibs_linux/httplib2shim/__init__.py:45: DeprecationWarning:

                 Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working


                 traceback: File "", line 1, in
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 443, in startPlugin
                  if not _startPlugin(packageName):
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 423, in _startPlugin
                  plugins[packageName] = package.classFactory(iface)
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qgis_gee_data_catalog/__init__.py", line 33, in classFactory
                  from .qgis_gee_data_catalog import GeeDataCatalog
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/__init__.py", line 32, in __wrapping_ee_import__
                  _module_ = __builtin_import__(name, *args, **kwargs)
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
                  mod = _builtin_import(name, globals, locals, fromlist, level)
                  File "", line 1007, in _find_and_load
                  File "", line 986, in _find_and_load_unlocked
                  File "", line 680, in _load_unlocked
                  File "", line 855, in exec_module
                  File "", line 228, in _call_with_frames_removed
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qgis_gee_data_catalog/qgis_gee_data_catalog.py", line 26, in
                  from .ee_interface import (add_ee_image_layer, download_ee_image_layer,
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/__init__.py", line 32, in __wrapping_ee_import__
                  _module_ = __builtin_import__(name, *args, **kwargs)
                  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
                  mod = _builtin_import(name, globals, locals, fromlist, level)
                  File "", line 1007, in _find_and_load
                  File "", line 986, in _find_and_load_unlocked
                  File "", line 680, in _load_unlocked
                  File "", line 855, in exec_module
                  File "", line 228, in _call_with_frames_removed
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qgis_gee_data_catalog/ee_interface.py", line 6, in
                  import ee
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/__init__.py", line 36, in __wrapping_ee_import__
                  _module_.Initialize()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/extlibs_linux/ee/__init__.py", line 115, in Initialize
                  data.initialize(
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/extlibs_linux/ee/data.py", line 210, in initialize
                  _install_cloud_api_resource()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/extlibs_linux/ee/data.py", line 280, in _install_cloud_api_resource
                  _cloud_api_resource = _cloud_api_utils.build_cloud_resource(
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/extlibs_linux/ee/_cloud_api_utils.py", line 133, in build_cloud_resource
                  http_transport = httplib2.Http(timeout=timeout)
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/extlibs_linux/httplib2shim/__init__.py", line 117, in __init__
                  pool = self._make_pool(proxy_info=proxy_info)
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/extlibs_linux/httplib2shim/__init__.py", line 45, in _default_make_pool
                  if isinstance(proxy_info, collections.Callable):
                  File "/usr/lib/python3.9/collections/__init__.py", line 62, in __getattr__
                  warnings.warn("Using or importing the ABCs from 'collections' instead "
                  File "/usr/lib/python3.9/warnings.py", line 109, in _showwarnmsg
                  sw(msg.message, msg.category, msg.filename, msg.lineno,

    2021-12-22T09:00:58     WARNING    warning:/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py:1046: DeprecationWarning:

                 `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
                 Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations


                 traceback: File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpaxiswidget.py", line 110, in onLayerChanged
                  self.sigAxisChanged.emit(self)
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 207, in readData
                  self.dataReaderX.read()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 995, in read
                  self._readMapCanvas()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 1067, in _readMapCanvas
                  self._read(extent=self.mapCanvas.extent(),
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 1046, in _read
                  mask = np.full_like(array, fill_value=True, dtype=np.bool)
                  File "/home/alobo/.local/lib/python3.9/site-packages/numpy/__init__.py", line 287, in __getattr__
                  warnings.warn(msg, DeprecationWarning, stacklevel=2)
                  File "/usr/lib/python3.9/warnings.py", line 109, in _showwarnmsg
                  sw(msg.message, msg.category, msg.filename, msg.lineno,

    2021-12-22T09:00:58     WARNING    warning:/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/site/pyqtgraph/graphicsItems/ImageItem.py:496: DeprecationWarning:

                 `np.int` is a deprecated alias for the builtin `int`. To silence this warning, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.
                 Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations


                 traceback: File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpaxiswidget.py", line 110, in onLayerChanged
                  self.sigAxisChanged.emit(self)
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 210, in readData
                  self.processData()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 226, in processData
                  self.plotData()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 248, in plotData
                  self.dataPlotter.clearImage()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 824, in clearImage
                  self.imageView.setImage(rgba, autoRange=False)
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/site/pyqtgraph/imageview/ImageView.py", line 322, in setImage
                  self.updateImage(autoHistogramRange=autoHistogramRange)
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/site/pyqtgraph/imageview/ImageView.py", line 734, in updateImage
                  self.imageItem.updateImage(image)
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/site/pyqtgraph/graphicsItems/ImageItem.py", line 349, in updateImage
                  return self.setImage(*args, **defaults)
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/site/pyqtgraph/graphicsItems/ImageItem.py", line 290, in setImage
                  self.sigImageChanged.emit()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/site/pyqtgraph/graphicsItems/HistogramLUTItem.py", line 221, in imageChanged
                  h = self.imageItem().getHistogram()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/site/pyqtgraph/graphicsItems/ImageItem.py", line 496, in getHistogram
                  bins = np.arange(mn, mx+1.01*step, step, dtype=np.int)
                  File "/home/alobo/.local/lib/python3.9/site-packages/numpy/__init__.py", line 287, in __getattr__
                  warnings.warn(msg, DeprecationWarning, stacklevel=2)
                  File "/usr/lib/python3.9/warnings.py", line 109, in _showwarnmsg
                  sw(msg.message, msg.category, msg.filename, msg.lineno,

    2021-12-22T09:01:02     WARNING    warning:/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py:1046: DeprecationWarning:

                 `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
                 Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations


                 traceback: File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpaxiswidget.py", line 110, in onLayerChanged
                  self.sigAxisChanged.emit(self)
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 208, in readData
                  self.dataReaderY.read()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 995, in read
                  self._readMapCanvas()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 1067, in _readMapCanvas
                  self._read(extent=self.mapCanvas.extent(),
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 1046, in _read
                  mask = np.full_like(array, fill_value=True, dtype=np.bool)
                  File "/home/alobo/.local/lib/python3.9/site-packages/numpy/__init__.py", line 287, in __getattr__
                  warnings.warn(msg, DeprecationWarning, stacklevel=2)
                  File "/usr/lib/python3.9/warnings.py", line 109, in _showwarnmsg
                  sw(msg.message, msg.category, msg.filename, msg.lineno,

    2021-12-22T09:01:26     WARNING    warning:/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py:1046: DeprecationWarning:

                 `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
                 Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations


                 traceback: File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 172, in onMapCanvasRenderComplete
                  self.readData()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 207, in readData
                  self.dataReaderX.read()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 995, in read
                  self._readMapCanvas()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 1067, in _readMapCanvas
                  self._read(extent=self.mapCanvas.extent(),
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 1046, in _read
                  mask = np.full_like(array, fill_value=True, dtype=np.bool)
                  File "/home/alobo/.local/lib/python3.9/site-packages/numpy/__init__.py", line 287, in __getattr__
                  warnings.warn(msg, DeprecationWarning, stacklevel=2)
                  File "/usr/lib/python3.9/warnings.py", line 109, in _showwarnmsg
                  sw(msg.message, msg.category, msg.filename, msg.lineno,

    2021-12-22T09:01:31     WARNING    warning:/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py:1046: DeprecationWarning:

                 `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
                 Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations


                 traceback: File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 172, in onMapCanvasRenderComplete
                  self.readData()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 207, in readData
                  self.dataReaderX.read()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 995, in read
                  self._readMapCanvas()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 1067, in _readMapCanvas
                  self._read(extent=self.mapCanvas.extent(),
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 1046, in _read
                  mask = np.full_like(array, fill_value=True, dtype=np.bool)
                  File "/home/alobo/.local/lib/python3.9/site-packages/numpy/__init__.py", line 287, in __getattr__
                  warnings.warn(msg, DeprecationWarning, stacklevel=2)
                  File "/usr/lib/python3.9/warnings.py", line 109, in _showwarnmsg
                  sw(msg.message, msg.category, msg.filename, msg.lineno,

    2021-12-22T09:01:32     WARNING    warning:/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py:1046: DeprecationWarning:

                 `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
                 Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations


                 traceback: File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 172, in onMapCanvasRenderComplete
                  self.readData()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 207, in readData
                  self.dataReaderX.read()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 995, in read
                  self._readMapCanvas()
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 1067, in _readMapCanvas
                  self._read(extent=self.mapCanvas.extent(),
                  File "/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/rasterdataplotting/rasterdataplotting/gui/rdpscatterplotwidget.py", line 1046, in _read
                  mask = np.full_like(array, fill_value=True, dtype=np.bool)
                  File "/home/alobo/.local/lib/python3.9/site-packages/numpy/__init__.py", line 287, in __getattr__
                  warnings.warn(msg, DeprecationWarning, stacklevel=2)
                  File "/usr/lib/python3.9/warnings.py", line 109, in _showwarnmsg
                  sw(msg.message, msg.category, msg.filename, msg.lineno,

  3. Log in to comment