move_legend_outside#
- mobgap.plotting.move_legend_outside(
- fig: Figure,
- ax: Axes,
- position: Literal['below', 'above'] = 'below',
- padding: float = 1.5,
- **kwargs: Any,
Move the legend from the axes to the figure and place it outside the plot.
Note
This is still not well supported by matplotlib. Specifically, matplotlib, can not set outside padding. So we use a trick: We set inside padding for the legend and remove the border around it.
Examples using mobgap.plotting.move_legend_outside#
Performance of the laterality classification algorithms on the TVS dataset
Performance of the laterality classification algorithms on the TVS dataset
Performance of the stride length algorithms on the TVS dataset
Performance of the stride length algorithms on the TVS dataset