I have two subplots and would like to repeat the same color sequence inside these subplots. One way is to define upfront my own list of colors, another way is to get access to the standard colors of the current color scheme, that is what I am interested in.
I have not found a description so far how to do it, but I found a function called
PlotlyBase._get_colorway(). Below my example, I would like to know, if this is the recommended way to repeat the same color order in subplots based on the predefined
using PlotlyJS, DSP, Printf # --- fig_obj = PlotlyJS.Plot() current_colorway = PlotlyJS.PlotlyBase._get_colorway(fig_obj) PlotlyJS.add_trace!(fig_obj, PlotlyJS.scatter(; y= [1,2,3], line_color = current_colorway))