-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
table: Interpret fill and text color attribute arrays as periodic #2130
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
Comments
Can we just allow these style attributes (fill and text colors) to be interpreted as periodic? So if you want even-odd you give length-2 arrays, but then if you want some other period you can do that too. Granted it would be awkward in the workspace if we want these to sometimes not be treated as data arrays but instead get set in the style panel, but I'm sure we can sort that out. Seem nicer than adding a bunch of new special-purpose attributes that restrict you to pure even-odd. |
Good idea! Sounds good to me! I changed the issue title.
… On Oct 30, 2017, at 12:08 AM, alexcjohnson ***@***.***> wrote:
Can we just allow these style attributes (fill and text colors) to be interpreted as periodic? So if you want even-odd you give length-2 arrays, but then if you want some other period you can do that too. Granted it would be awkward in the workspace if we want these to sometimes not be treated as data arrays but instead get set in the style panel, but I'm sure we can sort that out. Seem nicer than adding a bunch of new special-purpose attributes that restrict you to pure even-odd.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Title changed from: |
Periodic interpretation would be quite straightforward, will do! |
Looks like something might be off in the current implementation: https://community.plot.ly/t/possible-bug-with-table-cell-font-colors/6867/4 |
Has this been worked on at all? I'm getting a similar issue with font color using python. |
@marcstern14 it has not - but we'd gladly accept a PR to add this. Should be pretty simple, just a matter of finding a few key places to add |
Alternating row colors doesn't translate very naturally to the workspace. It would be nice to have these shortcuts that override the other fill color attributes. It would also simplify table development in R and Python, as you wouldn't have to make an array of alternating colors every time.
The text was updated successfully, but these errors were encountered: