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
Yeah, unfortunately we probably have to mark this as won't fix. The tl;dr version is that tinyplot needs to hijack the window arrangement to position things the legend, facet, etc. Internally, we use par(mfrow) & co. for this, which as you probably know, makes it incompatible with layout.
Thanks @devSJR that's a good suggestion. At a minimum, we could probably do a better job of documenting this incompatibility.
I want to take a another stab at improving layout compatibility with the legend behavior, though. It feels to me like maybe we could get this to work, even if facets are a no-go. But I'll only be able to take a look at it in a few weeks.
Sure, all good. I think communicating this more prominent will do the trick for the time being. Technical solutions would be optimal of course, but from my side at least there's no need to hurry. Keep up the good work.
Activity
grantmcdermott commentedon Feb 28, 2025
Yeah, unfortunately we probably have to mark this as won't fix. The tl;dr version is that
tinyplotneeds to hijack the window arrangement to position things the legend, facet, etc. Internally, we usepar(mfrow)& co. for this, which as you probably know, makes it incompatible withlayout.OTOH, turning the legend off does work:
Created on 2025-02-27 with reprex v2.1.1
devSJR commentedon Feb 28, 2025
Alright. Would it be possible to give a(n) warning/error message in case layout is used? Something like
trace(layout)?grantmcdermott commentedon Mar 1, 2025
Thanks @devSJR that's a good suggestion. At a minimum, we could probably do a better job of documenting this incompatibility.
I want to take a another stab at improving
layoutcompatibility with thelegendbehavior, though. It feels to me like maybe we could get this to work, even if facets are a no-go. But I'll only be able to take a look at it in a few weeks.devSJR commentedon Mar 1, 2025
Sure, all good. I think communicating this more prominent will do the trick for the time being. Technical solutions would be optimal of course, but from my side at least there's no need to hurry. Keep up the good work.