Python add_label() did not place text object in correct coordinates


Version: 2026b

Type: Bug Fixes

Category: Programming

Subcategory: Python

Jira: ORG-33607


import originpro as op

gp = op.new_graph()
gl = gp[0]
label = gl.add_label("test", x=0, y=0)

==>the text object was placed at the center of the layer , which should be position of origin (0,0)

Fixed in Origin 2026b.