Skip to content

Interface: BaseLayoutTitle ​

Figure title.

Properties ​

PropertyTypeDefault valueDescription
font?LayoutTitleFontundefinedTitle font. Defaults to layout.font with 1.4× size.
text?string""Title text (supports rich-text tags, E2.10).
x?number0.5Horizontal position in xref coordinates. Range: 0 – 1
xanchor?"auto" | "left" | "center" | "right""auto"Horizontal alignment of the title box relative to x.
xref?"container" | "paper""container"container spans the whole figure; paper spans the plot area.
y?number | "auto""auto"Vertical position in yref coordinates. auto places it in the top margin. Range: 0 – 1
yanchor?"auto" | "top" | "middle" | "bottom""auto"Vertical alignment of the title box relative to y.
yref?"container" | "paper""container"container spans the whole figure; paper spans the plot area.

Released under the MIT License.