Skip to content

Fix instance of 'RendererPS' has no 'tex' member #9448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 1, 2017
Merged

Fix instance of 'RendererPS' has no 'tex' member #9448

merged 1 commit into from
Dec 1, 2017

Conversation

cgohlke
Copy link
Contributor

@cgohlke cgohlke commented Oct 16, 2017

The RendererPS.tex function does not appear to be defined anywhere. I assume this is the draw_tex function? Not sure since this code is around for so many years. Am I missing something?

@NelleV NelleV requested a review from tacaswell October 17, 2017 16:06
@NelleV
Copy link
Member

NelleV commented Oct 17, 2017

@cgohlke How did you discover this problem?
I think the patch is correct, but it'd be nice to have regression test, even one that just executes this code and assesses whether it runs or not. Considering how long this has been around, it could just as well be dead code.

@cgohlke
Copy link
Contributor Author

cgohlke commented Oct 17, 2017

For my recent PRs, I was scanning pylint errors and warnings for potential issues. I do not have a regression test. Given how old this code is and no one noticed (?), maybe this code can be removed?

@tacaswell tacaswell added this to the v2.1.1 milestone Dec 1, 2017
@tacaswell tacaswell merged commit c9f80ef into matplotlib:master Dec 1, 2017
@tacaswell
Copy link
Member

Thanks @cgohlke !

@tacaswell
Copy link
Member

@meeseeksdev backport to v2.1.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants