Facet frame only for "whole" plot #1951
Unanswered
Hvass-Labs
asked this question in
Q&A
Replies: 1 comment 1 reply
-
For the frame, that's what the mark is and I don't think there is a way around it—we would have to create a specific mark or option for that. See https://observablehq.com/@recifs/plot-facet-encompassing-frame--dev For the text, you could filter it by adding an option, either:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This issue is moved from deep within the comments of #1943.
When using a frame and facets together, the frame is added to every single facet (or sub-plot). How can I add the frame to only the "whole" plot?
The plotting code is essentially:
I have tried two ways of adding the frame:
and:
Both ways produce the following plot with a frame on every facet.
I think there is a similar problem when using the text mark to add a title to the plot, where it is also added to every facet. (This is a hack to circumvent how you combine HTML and SVG code which causes problems for my application.)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions