Skip to content

y1 and y2 are inverted? #2

Description

@mattloose

asmTools/asmToRefViz.py

Lines 268 to 275 in 6ce3cf6

key: str=key_pair[0]
x1: float=0.0
x2: float=xbuffer*xsize*0.9
y2: float=zone_height* (i*dict_count+j) + (vertical_margin*
ysize+
zone_buffer)
y1: float=y2+zone_height-zone_buffer
text.append([x1, y1, x2, y2])

In order to make the code run I had to invert y1 and y2 here. Perhaps this is a version thing?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions