graphinglib.Figure.show#
- Figure.show(legend: bool = True, legend_loc: str | tuple = 'best', legend_cols: int = 1) None[source]#
Displays the
Figure.- Parameters:
- legendbool
Whether or not to display the legend. The legend is always set to be draggable. Defaults to
True.- legend_locstr or tuple
Legend location keyword or tuple. Any value in {“best”, “upper right”, “upper left”, “lower left”, “lower right”, “right”, “center left”, “center right”, “lower center”, “upper center”, “center”} or {“outside upper center”, “outside center right”, “outside lower center”}. Tuple contains floats relative to the plots size;
(1, 1)is equivalent to the upper right corner. Defaults to “best”.- legend_colsint
Number of columns in the legend. Defaults to 1.