Skip to content

Annotation xytext property does not return xyann value #3500

@taldcroft

Description

@taldcroft

The deprecation wrapper here needs to return the self.xyann value.

    @property
    @cbook.deprecated('1.4', message='Use `xyann` instead',
                      name='xytext', alternative='xyann')
    def xytext(self):
        self.xyann

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