Skip to content
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

PEP8 fixes on table.py #1376

Merged
merged 1 commit into from Oct 13, 2012
Merged

PEP8 fixes on table.py #1376

merged 1 commit into from Oct 13, 2012

Conversation

NelleV
Copy link
Member

@NelleV NelleV commented Oct 13, 2012

PEP8 fixes on the module table.

Thanks,
N.

@@ -276,6 +281,7 @@ def get_children(self):
def get_window_extent(self, renderer):
'Return the bounding box of the table in window coords'
boxes = [c.get_window_extent(renderer) for c in self._cells]
# FIXME bbox_all is not defined
return bbox_all(boxes)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm, I wonder if this method is used...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to doc/api/api_changes.rst, bbox_all() should be changed to Bbox.union()

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could fix that, but IMO it is better to open a ticket (easyfix tagged?), and have someone do a proper regression tests on it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Issue #1385 is tagged low_hanging_fruit.

dmcdougall added a commit that referenced this pull request Oct 13, 2012
@dmcdougall dmcdougall merged commit f87cb25 into matplotlib:master Oct 13, 2012
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.

None yet

3 participants