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

Let attributes that should have underscores through somehow #12

Closed
sglyon opened this issue Dec 22, 2015 · 1 comment
Closed

Let attributes that should have underscores through somehow #12

sglyon opened this issue Dec 22, 2015 · 1 comment

Comments

@sglyon
Copy link
Member

sglyon commented Dec 22, 2015

Example is something like layout.paper_bgcolor Right now we would effectively be setting layout.paper.bgcolor.

@sglyon
Copy link
Member Author

sglyon commented Mar 11, 2016

The way to do this is to set the field of the dict.

So in this example I could do:

l = Layout()
l.fields[:paper_bgcolor] = "yellow"

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

No branches or pull requests

1 participant