Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • P purr-data
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 364
    • Issues 364
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 53
    • Merge requests 53
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Jonathan Wilkes
  • purr-data
  • Issues
  • #384

Graph labels are off a bit, should be centered on the spot where they are displayed

Sample patch attached: graph-labels.pd

Here's how the patch looks like in vanilla:

labels-vanilla

Note how the labels are centered relative to the ticks.

In Purr Data they are offset upwards and to the right:

labels-purr

Looks like they are aligned with the reference point below and left of the label, so that they look misaligned. Of course, it's possible to fix the y alignment of the x labels and the x alignment of the y labels by adjusting the coordinate values in the first argument of the corresponding xlabel/ylabel message, but that's awkward, introduces an incompatibility with vanilla for no good reason, and in any case doesn't help with the horizontal placement of x and the vertical placement of y labels for which there is no such work-around.

It's a minor issue, but to a mathematician's eye this just looks wrong. ;-) Is there a way to fix that?

Assignee
Assign to
Time tracking