add_catmaply_traces | R Documentation |
Function to produce catmaply traces.
add_catmaply_traces(
fig,
df,
hover_hide,
color_palette,
categorical_color_range,
category_items,
legend_items
)
fig |
plotly object |
df |
data.frame or tibble holding the data. |
hover_hide |
boolean indicating if the hover label should be hidden or not; (default: FALSE). |
color_palette |
a color palette vector. |
categorical_color_range |
if the resulting heatmap holds categorical field values or continuous values that belong to a category; (default: FALSE). |
category_items |
distinct/unique items of ordered category items |
legend_items |
distinct/unique items of ordered legend items |
plot_ly object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.