8000 Counterintuitive behavior using get/set _yticklabels (or _xticklabels) · Issue #2246 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Counterintuitive behavior using get/set _yticklabels (or _xticklabels) #2246
Closed
@adrn

Description

@adrn

One would expect this to work:

fig,ax = subplots(1,1)
ax.set_yticklabels(ax.get_yticklabels())

But it instead replaces the labels with the str representation of the Text object, something like Text(0, 0, '1.0') and etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0