-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
table.py: fix issue when specifying both column header text and color #2389
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
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
3747f0f
fix bug in table.py when specifying both column header text and color
bjcohen 84760b1
table.py: added comments to previous change and fixed other bugs
bjcohen 5e47778
table.py: clarified documentation
bjcohen 360b1a4
WIP: added some basic image tests for tables with headers. tests need…
bjcohen 8e78f02
fixed table test script and images
bjcohen be24fc9
Merge pull request #2588 from pwuertz/print_refactor
mdboom 526ac19
fix bug in table.py when specifying both column header text and color
bjcohen cd83e07
table.py: added comments to previous change and fixed other bugs
bjcohen 6f9689b
table.py: clarified documentation
bjcohen 574f6aa
WIP: added some basic image tests for tables with headers. tests need…
bjcohen 9421a48
fixed table test script and images
bjcohen 189fa12
Merge branch 'patch-1' of github.com:bjcohen/matplotlib into patch-1
bjcohen 527503c
merge table tests down to one image file
bjcohen 4de70b0
fixed filename
bjcohen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you provide a comment here explaining the logic. Something along the lines of "Assume the table has a column label row, so offset by one". I am not familiar enough with the tables feature to understand the oddity of having blank column labels if column colors are specified, so an explanation there would be useful as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure - TBH I don't understand the use case for that either, but that's the way the code worked previously. I was really only interested in fixing the case where both color and text were specified.