You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Facet is somewhat orthogonal to the layers (or at least applies to all the layers), it feels that the treatment in setup_data is more appropriate.
It may be too late to change this, but I imagine usage of this method is rare enough that fixing it (assuming you agree this ideally would be fixed) might not be too painful in terms of breaking existing code.
The text was updated successfully, but these errors were encountered:
Thanks for this suggestion, I agree that it would make a nice symmetry in methods.
However, unless a practical need arises I don't think we should proceed this with this as it would break some extensions.
Facet$setup_data
is called byLayout
with all of the plot and layer data, as seen inLayout$Setup
:However,
Facet$finish_data
is called repeatedly with each layer data inLayout$finish_data
:Since
Facet
is somewhat orthogonal to the layers (or at least applies to all the layers), it feels that the treatment insetup_data
is more appropriate.It may be too late to change this, but I imagine usage of this method is rare enough that fixing it (assuming you agree this ideally would be fixed) might not be too painful in terms of breaking existing code.
The text was updated successfully, but these errors were encountered: