This function simulates a categorical legend object. It is primarily used for testing the package.
simulate_categorical_legend()
A CategoricalLegend object.
print(simulate_continuous_legend())
#> <ContinuousLegend>
#> Public:
#> clone: function (deep = FALSE)
#> colors: #FFF7FB #ECE7F2 #D0D1E6 #A6BDDB #74A9CF #3690C0 #0570B0 ...
#> export: function ()
#> get_color_map: function ()
#> get_resample_method: function ()
#> get_widget_data: function ()
#> initialize: function (min_value, max_value, colors, n)
#> max_value: 81.3177684592083
#> min_value: 23.8640623050742
#> n: 4