catmaply_annotations | R Documentation |
Function to produce catmaply traces.
catmaply_annotations( df, annotated, text_color = "#444", text_size = 12, text_font_family = c("Open Sans", "verdana", "arial", "sans-serif") )
df |
data.frame or tibble holding the data. |
annotated |
boolean indicating if annotations should be displayed. |
text_color |
font color to be used for text; (default: "#444"). |
text_size |
font size to be used for text/annotation. Needs to be a number greater than or equal to 1; (default: 12). |
fig |
plotly object |
text_font_color |
the typeface that will be applied by the web browser for the text/annotation. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system; (default: c("Open Sans", "verdana", "arial", "sans-serif")). |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.