Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

table {x,y} resolving on draw #20068

Open
@story645

Description

@story645

Trying to get the x and y coordinate of each cell, the get_y method returns the same value

fig,ax=plt.subplots()tab=mtable.table(ax, ['1','2','3'])foriinrange(3):print(tab[i,0].get_y())

prints

000

but putting the loop in its own cell (w/o the fig, ax) yields the correct values (even though it's the same object as above)

foriinrange(3):print(tab[i,0].get_y())
-0.05518763796909486-0.11037527593818977-0.1655629139072847

a .py file also prints the incorrect values for the table cell x values. I've tried changing the variable name and got the same error incolab.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp