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
Textbox brings a much needed feature to Makie: adding a text with surrounding box in the figure. It has all options necessary to style the textbox as you wish. Without Textbox, actually making text with a surrounding box can be very tedious and complex, and thus very hard to memorize, e.g., https://discourse.julialang.org/t/fill-a-bounding-box-behind-text-in-makie/101502/3.
The only thing I am misssing from Textbox is an additional padding argument, that controls the pad of the box borders themselves w.r.t. to their placement.
For plot types, please add an image of how it should look like
where i, j iterates over the 10 axes locations. I would like to add an additional padding that would place the textbox futher away from the axis splines. textpadding controls the distance between text and the textbox borders so it is not that.
The text was updated successfully, but these errors were encountered:
Fantastic, thank you. However, I do not understand the interaction between alignmodel = Outside(padding) and textpadding. For example, I have this setup:
Feature description
Textbox
brings a much needed feature to Makie: adding a text with surrounding box in the figure. It has all options necessary to style the textbox as you wish. WithoutTextbox
, actually making text with a surrounding box can be very tedious and complex, and thus very hard to memorize, e.g., https://discourse.julialang.org/t/fill-a-bounding-box-behind-text-in-makie/101502/3.The only thing I am misssing from
Textbox
is an additionalpadding
argument, that controls the pad of the box borders themselves w.r.t. to their placement.For plot types, please add an image of how it should look like
E.g., I have this nice figure:
where the labels top right are added with
where
i, j
iterates over the 10 axes locations. I would like to add an additionalpadding
that would place the textbox futher away from the axis splines.textpadding
controls the distance between text and the textbox borders so it is not that.The text was updated successfully, but these errors were encountered: