BF - correct return type for Axes.get_title #1832

Merged
merged 1 commit into from Mar 17, 2013

Conversation

Projects
None yet
3 participants
Contributor

ajdawson commented Mar 17, 2013

Return type of Axes.get_title was changed by mistake. This PR reverts to the previous MPL behaviour. Caused by #1644 and reported in #1714.

Contributor

mspacek commented Mar 17, 2013

Ah, OK. I was worried that change was intentional, and we'd all have to start doing Axes.get_title().get_text() all the time 😃 Thanks for fixing this.

Just so I'm clear, Axes.set_title has always returned a matplotlib.text.Text instance?

Contributor

ajdawson commented Mar 17, 2013

Just so I'm clear, Axes.set_title has always returned a matplotlib.text.Text instance?

I believe that is correct yes.

Contributor

mspacek commented Mar 17, 2013

Tested. This fixes #1714. Can someone merge it?

efiring added a commit that referenced this pull request Mar 17, 2013

Merge pull request #1832 from ajdawson/fix-get-title
BF - correct return type for Axes.get_title

@efiring efiring merged commit 2b2fa46 into matplotlib:master Mar 17, 2013

1 check passed

default The Travis build passed
Details

@ajdawson ajdawson deleted the ajdawson:fix-get-title branch Jul 18, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment