deephaven.plot.font¶
This module implements the Font class that can be used to set the fonts on a plot.
- class Font(family='Arial', style=FontStyle.PLAIN, size=8)[source]¶
Bases:
JObjectWrapperA specific font, defined in terms of family, style, and size.
Creates a Font object.
- Parameters:
family (
str) – the font family, defaults to ‘Arial’style (
FontStyle) – the font style, defaults to FontStyle.PLAINsize (
int) – the point size of the Font, defaults to 8
- j_object_type¶
alias of
Font
- class FontStyle(*values)[source]¶
Bases:
EnumAn enum of predefined font styles.
- BOLD = io.deephaven.plot.Font$FontStyle(objectRef=0x3b485cfa)¶
Bold text
- BOLD_ITALIC = io.deephaven.plot.Font$FontStyle(objectRef=0x3b48618a)¶
Bold and italic text
- ITALIC = io.deephaven.plot.Font$FontStyle(objectRef=0x3b486182)¶
Italic text
- PLAIN = io.deephaven.plot.Font$FontStyle(objectRef=0x3b485cf2)¶
Plain text.