Skip to content

[Bug] g.gui.timeline 3D plot fails #3082

@cmbarton

Description

@cmbarton

Describe the bug
Trying to create a 3D plot in the t.gui.timeline tool does nothing and generates an error.

To Reproduce

  1. Use the modes_lst dataset that comes with the sc_spm demo data
  2. start the g.gui.timeline tool
  3. select the LST_Day_monthly space time dataset that comes with the demo data
  4. check the 3D plot box and click draw

Expected behavior
Instead of a 3D plot, an error is generated in the console

Traceback (most recent call last):
  File "/Applications/GRASS-
8.3.app/Contents/Resources/gui/wxpython/timeline/frame.py",
line 425, in OnRedraw

self._redraw()
  File "/Applications/GRASS-
8.3.app/Contents/Resources/gui/wxpython/timeline/frame.py",
line 454, in _redraw

self.axes2d.change_geometry(1, 1, 1)

AttributeError
:
'Axes' object has no attribute 'change_geometry'
Traceback (most recent call last):
  File "/Applications/GRASS-
8.3.app/Contents/Resources/gui/wxpython/timeline/frame.py",
line 425, in OnRedraw

self._redraw()
  File "/Applications/GRASS-
8.3.app/Contents/Resources/gui/wxpython/timeline/frame.py",
line 440, in _redraw

self.axes2d.change_geometry(2, 1, 1)
^
AttributeError
:
'Axes' object has no attribute 'change_geometry'
Traceback (most recent call last):
  File "/Applications/GRASS-
8.3.app/Contents/Resources/gui/wxpython/timeline/frame.py",
line 425, in OnRedraw

self._redraw()
  File "/Applications/GRASS-
8.3.app/Contents/Resources/gui/wxpython/timeline/frame.py",
line 440, in _redraw

self.axes2d.change_geometry(2, 1, 1)
AttributeError
:
'Axes' object has no attribute 'change_geometry'

System description (please complete the following information):

  • Operating System: MacOS 13.4.1
  • GRASS GIS version 8.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions