plotnine.position_stack

position_stack(vjust=1, reverse=False)

Stack plotted objects on top of each other

The objects to stack are those that have an overlapping x range.

Parameters

vjust : float = 1

By what fraction to avoid overlapping the lower object, where 0 gives a complete overlap and 1 gives no overlap.

reverse : bool = False

Reverse the order of the stacked groups if true.