[Scatter Plot app] improvements / bugs

Issue #1279 closed
Andreas Rabe created an issue

Reported by @Fabian Thiel .

  1. Plot is static, is that intended? Its not bad, but I’m just used to the interactiveness of pyqtgraph 😊
  2. Previous app allowed 2d binning with specifiable bin size, right? Is that not desired anymore? Again, not criticizing, just observing
  3. Random, I don’t know how i triggered this:

AttributeError: 'NoneType' object has no attribute 'mapSettings' 
Traceback (most recent call last):
  File "/root/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/coreapps/scatterplotapp/scatterplotdialog.py", line 249, in onLiveUpdate
    self.onApplyClicked()
  File "/root/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/coreapps/scatterplotapp/scatterplotdialog.py", line 195, in onApplyClicked
    extent = self.currentExtent()
  File "/root/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/site-packages/typeguard/__init__.py", line 903, in wrapper
    retval = func(*args, **kwargs)
  File "/root/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/coreapps/scatterplotapp/scatterplotdialog.py", line 124, in currentExtent
    mapSettings: QgsMapSettings = self.mMapCanvas.mapSettings()
AttributeError: 'NoneType' object has no attribute 'mapSettings'

Comments (3)

  1. Andreas Rabe reporter
    1. yes, makes things easier in the background
    2. correct, not desired anymore. Screen-res is now defining the binning.
    3. can’t reproduce

  2. Log in to comment