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
When I tried to adjust the legend.key.size in guides it doesn't seem to work as expected. But legend.key.spacing.y works fine.
When I include it in the theme(adjusting the whole legend?) , the code works very well.
I'm not sure if this is similar to the question below? Or is it a bug? If this behavior is indeed due to an underlying mechanism, wouldn’t it be preferable for the documentation to include a note about it, as is done for this issue? #6263
Thanks for the report! This is because the legend.key.width/legend.key.height are precomputed from the main theme, so setting the parent legend.key.size locally is ineffective. I'm not 100% convinced this is an actual bug, but I can see why this is confusing and we should consider changing this.
This is because the legend.key.width/legend.key.height are precomputed from the main theme, so setting the parent legend.key.size locally is ineffective.
Hi!
When I tried to adjust the
legend.key.size
in guides it doesn't seem to work as expected. Butlegend.key.spacing.y
works fine.When I include it in the theme(adjusting the whole legend?) , the code works very well.
I'm not sure if this is similar to the question below? Or is it a bug? If this behavior is indeed due to an underlying mechanism, wouldn’t it be preferable for the documentation to include a note about it, as is done for this issue?
#6263
Here is the code to reproduce the issue:
The text was updated successfully, but these errors were encountered: