If I initialize my figure in matplotlib by myfigure=Figure((5.0, 4.0), dpi=100) why cant I use figlegend(handles,labels,'upper center')? Why cant I generally use the functions that work with myfigure = plt.figure()? (If i imported like from matplotlib import pyplot as plt)
If i could how would i do that?
Regards
The figlegend pyplot function is a really simple wrapper to a figure method. The code for figlegend:
As you can see, all you really need to do is use the legend method on a figure to achieve the same results.
HTH