xplot icon indicating copy to clipboard operation
xplot copied to clipboard

Add variadic to `add_axis` and `add_mark`

Open gouarin opened this issue 7 years ago • 1 comments

With this improvement, we can do

fig.add_axis(ax_x, ax_y, ax_z);

At the moment, we can only add one axis or one mark at a time.

gouarin avatar Sep 27 '17 13:09 gouarin

I like the new api to insert with initializer lists

vec.insert(vec.end(), {
    ax_x,
    ax_y,
    ax.z
});

I wonder if we should have a type of observed sequence with STL-style API.

SylvainCorlay avatar Apr 07 '18 07:04 SylvainCorlay