QuantStack/xplot

color_axis position

gouarin opened this issue · 1 comments

At the moment, it is not possible to get the right position of a color_axis.

If you set the color_axis like this

xpl::color_axis ax_c(sc);
ax_c.label = "Values";
ax_c.orientation = "vertical";
ax_c.side = "right";

The orientation and the side is not applied.

We need to execute two times the following commands in the cell after the creation of the xfigure to have the right behavior.

ax_c.orientation = "vertical";
ax_c.side = "right";

note for self: check the validators / observers for these properties in bqplot.