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
As far as I can tell, there is no way to directly adjust the fontsize of the facet labels. Sometimes the labels I'd like are a little too long, and it would be helpful to be able to adjust this.
Example
Currently the best option is to set the fontsize of the figure, which affects all other font sizes.
There could be two places for this, either in draw(...; facet = (; ...) or in draw(..., scales(Col = (; ...) or Row, respectively. In principle, all scale settings should go to scales, however font size is not really an attribute of the scale itself. Compare to the Color scale where colorbar settings go into draw(...; colorbar = (; ... instead, or the x and y axes which have settings in draw(...; axis = (; ...). I have never found that 100% ideal because you can't change axis settings per facet this way, but it's also not easy to allow that level of drill-down from a simple interface. Also, the colorbar option for example predates the scales system, so it wasn't designed with that in mind. And most plots don't need that kind of control, anyway, although I like to err on the side of more options to not limit users.
Problem description
As far as I can tell, there is no way to directly adjust the fontsize of the facet labels. Sometimes the labels I'd like are a little too long, and it would be helpful to be able to adjust this.
Example
Currently the best option is to set the
fontsize
of the figure, which affects all other font sizes.Proposed solution
I'm not certain the most AoG-ish way to do this.
The text was updated successfully, but these errors were encountered: