Skip to content

Commit 1e4a8a2

Browse files
authored
Update legend docstring
1 parent 97d92f4 commit 1e4a8a2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pygmt/base_plotting.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -626,10 +626,9 @@ def legend(self, spec=None, position="JTR+jTR", **kwargs):
626626
Plot legends on maps.
627627
628628
Makes legends that can be overlaid on maps. Reads specific legend-related
629-
information from either a) an input file or b) a list containing a list
630-
of figure handles and a list of corresponding labels. Unless otherwise
631-
noted, annotations will be made using the primary annotation font and
632-
size in effect (i.e., FONT_ANNOT_PRIMARY).
629+
information from an input file, or automatically creates legend entries from
630+
plotted symbols that have labels. Unless otherwise noted, annotations will be
631+
made using the primary annotation font and size in effect (i.e., FONT_ANNOT_PRIMARY).
633632
634633
Full option list at :gmt-docs:`legend.html`
635634

0 commit comments

Comments
 (0)