I am looking for removing the implicit legend with function g.triangle_plot :
First, I did a circumvented way to manually set the location of legend :
Code: Select all
# Call triplot
g.triangle_plot([matrix1, matrix2],
names,
filled = True,
contour_colors = ['darkblue','red'],
line_args = [{'lw':2, 'color':'darkblue'},
{'lw':2, 'color':'red'}],
)
g.add_legend(['Opt. Flat. No Gamma. - optimistic case - cross - standard situation - Criterion taking into accound a = 200', 'Pess. Flat. No Gamma. - pessimistic case - cross - standard situation - Criterion taking into account a = 300' ], bbox_to_anchor = [1.0, 8.5])
Here an example :
How to remove explicitely this legend names 'Samples0,Samples1" ? I didn't find any options to not show it.
Regards