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

fullJSON access to computed values #5185

Closed
nicolaskruchten opened this issue Oct 1, 2020 · 0 comments · Fixed by #5203
Closed

fullJSON access to computed values #5185

nicolaskruchten opened this issue Oct 1, 2020 · 0 comments · Fixed by #5203
Assignees
Labels
feature something new
Milestone

Comments

@nicolaskruchten
Copy link
Contributor

We need to expose computed layout.margin values in fullJSON somewhere, as well as the computed tickangle and other computed automargin-impacting values.

I propose that we either add a new "read only" layout.computed attribute that has sub-attributes margin.{r,t,l,b} and x[2,3,4].{tickangle, etc}.

Alternatively, we could overwrite these when doing the fullJSON export in downloadImage so these values are available via Python's new full_figure_for_development mechanism without new attributes.

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

Successfully merging a pull request may close this issue.

2 participants