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,
xgap,
ygap
)
plot_ly object
plotly object
data.frame or tibble holding the data.
a color palette vector.
distinct/unique items of ordered legend items
boolean indicating if legend should be displayed or not; (default: TRUE).
y position of colorbar; (default: NA).
Sets the horizontal gap (in pixels) between bricks.
Sets the vertical gap (in pixels) between bricks.