psychopy_ext.plot.Plot.display_legend

Plot.display_legend(nums, show=False)[source]

Shows or hides (default) legends on given axes.

Args:
nums (int, tuple or list of ints)

Axes numbers that need their legend hidden.

Kwargs:
show (bool, default: False)

Whether legends should be shown or hidden