We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1923ac commit 953b0e9Copy full SHA for 953b0e9
examples/gallery/embellishments/legend.py
@@ -4,7 +4,12 @@
4
5
The :meth:`pygmt.Figure.legend` method can automatically create a legend for
6
symbols plotted using :meth:`pygmt.Figure.plot`. Legend entries are only
7
-created when the ``label`` parameter is used.
+created when the ``label`` parameter is used. For more complicated legends,
8
+including legends with multiple columns, users have to write an ASCII file
9
+with instructions for the layout of the legend items and pass it
10
+to the ``spec`` parameter of :meth:`pygmt.Figure.legend`. For details on
11
+how to set up such a file, please see the GMT documentation at
12
+https://docs.generic-mapping-tools.org/latest/legend.html#legend-codes.
13
"""
14
import pygmt
15
0 commit comments