File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6868
6969Not all handles can be turned into legend entries automatically,
7070so it is often necessary to create an artist which *can*. Legend handles
71- don't have to exists on the Figure or Axes in order to be used.
71+ don't have to exist on the Figure or Axes in order to be used.
7272
7373Suppose we wanted to create a legend which has an entry for some data which
7474is represented by a red color:
104104# The ``bbox_to_anchor`` keyword gives a great degree of control for manual
105105# legend placement. For example, if you want your axes legend located at the
106106# figure's top right-hand corner instead of the axes' corner, simply specify
107- # the corner's location, and the coordinate system of that location::
107+ # the corner's location and the coordinate system of that location::
108108#
109109# plt.legend(bbox_to_anchor=(1, 1),
110110# bbox_transform=plt.gcf().transFigure)
You can’t perform that action at this time.
0 commit comments