Skip to content

return _text property as __repr__ for Text class #6042

Closed
@DSLituiev

Description

@DSLituiev

now print(text) returns something like:

 <matplotlib.text.Text at 0x7f7d0cfdf0f0>

suggestion: return the _text property in __repr__()


  • Matplotlib version, Python version and Platform (Windows, OSX, Linux ...)
{'dirty': False,
 'error': None,
 'full-revisionid': 'c0728d23ca5adbff6b79cda3153d0d36bff12c55',
 'version': '1.5.1+1304.gc0728d2'}

Python3.4
Ubuntu 14
  • How did you install Matplotlib and Python (pip, anaconda, from source ...)

    pip from git

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesNew feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions