add_catmaply_single | R Documentation |
Function to produce a single catmaply trace without interactive legend.
add_catmaply_single(
fig,
df,
hover_hide,
color_palette,
categorical_color_range,
legend_items,
legend,
visible = 1,
colorbar_y = NA
)
fig |
plotly object |
df |
data.frame or tibble holding the data. |
color_palette |
a color palette vector. |
legend_items |
distinct/unique items of ordered legend items |
legend |
boolean indicating if legend should be displayed or not; (default: TRUE). |
colorbar_y |
y position of colorbar; (default: NA). |
plot_ly object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.