Skip to content

Add axes for object size and debug tick mark problems #62

@cmalinmayor

Description

@cmalinmayor

Can use fastplotlib axes code for inspiration

  • Configurable (from code) tick marks (lines, not circles) and number spacing with sensible defaults
  • Axes numbering works in horizontal and vertical mode - currently no numbers except 0 when time is on the horizonal axis
  • Feature axis has an actual axis with numbers and a configurable (from code) label

Axes remain on the view even when you pan/zoom (a.k.a they are "pinned" to the side of the window like the row/column labels in a spreadsheet viewer)

Bonus: the numbers and tick marks scale dynamically with the zoom level
Another bonus: Grid lines behind the data

Other notes about the axes: The configuration of which numbers to draw and the extent of the axis seem fragile currently. I somehow got the axis on the right at some point, and another time it only labeled 40 and 50 when the time axis actually went from 0 to 91. The number of time labels it draws varies as I click around (starts with 0, 25, 50, 75, ends with only 0 labeled).

Metadata

Metadata

Assignees

No one assigned

    Labels

    🌈 UIUser interface only change✨ featureNew feature or requestpygfx-tree-viewIssues related to the rewrite of the tree view using pygfx intead of pyqtgraph

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions