plot
plot copied to clipboard
Expose computed margins
Could provide more detail than you can get from the exposed scales, e.g. when there’s faceting or insets.
Related:
- https://github.com/observablehq/plot/issues/1192
This could be as simple as setting figure.dimensions = dimensions (though we might want to have a function here instead, and maybe be defensive about mutations by returning a copy of the dimensions object).