File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,9 @@ Plotting data and laying out the map:
34
34
Figure.legend
35
35
Figure.logo
36
36
Figure.image
37
+ Figure.sca
37
38
Figure.shift_origin
39
+ Figure.subplot
38
40
Figure.text
39
41
Figure.meca
40
42
Original file line number Diff line number Diff line change 62
62
fig .show ()
63
63
64
64
###############################################################################
65
- # The ``fig. sca`` command activates a specified subplot, and all subsequent
66
- # plotting commands will take place in that subplot. This is similar to
67
- # matplotlib's ``plt.sca`` method. In order to specify a subplot, you will need
68
- # to provide the identifier for that subplot via the ``ax`` argument. This can
69
- # be found in the ``axs`` variable referenced by the ``row`` and ``col``
65
+ # The :meth:`pygmt.Figure. sca` command activates a specified subplot, and all
66
+ # subsequent plotting commands will take place in that subplot. This is similar
67
+ # to matplotlib's ``plt.sca`` method. In order to specify a subplot, you will
68
+ # need to provide the identifier for that subplot via the ``ax`` argument. This
69
+ # can be found in the ``axs`` variable referenced by the ``row`` and ``col``
70
70
# number.
71
71
72
72
###############################################################################
235
235
###############################################################################
236
236
# Since we skipped the second subplot, the auto label function will name the
237
237
# three subplots as a, c and d, which is not what we want, so we have to use
238
- # ``fig.sca(A =""(a)"`` to manually set the subplot label.
238
+ # ``fig.sca(autolabel =""(a)"`` to manually set the subplot label.
You can’t perform that action at this time.
0 commit comments