Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions examples/gallery/basemaps/ternary.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# %%
import pygmt
from pygmt.params import Position
from pygmt.params import Axis, Frame, Position

fig = pygmt.Figure()

Expand All @@ -34,11 +34,13 @@
blabel="Water",
clabel="Air",
cmap=True,
frame=[
"aafg+lLimestone component+u %",
"bafg+lWater component+u %",
"cafg+lAir component+u %",
],
frame=Frame(
aaxis=Axis(
Comment thread
seisman marked this conversation as resolved.
Outdated
annot=True, tick=True, grid=True, label="Limestone component", unit="%"
),
baxis=Axis(annot=True, tick=True, grid=True, label="Water component", unit="%"),
caxis=Axis(annot=True, tick=True, grid=True, label="Air component", unit="%"),
Comment thread
seisman marked this conversation as resolved.
Outdated
),
)

# Add a colorbar indicating the values given in the fourth column of the input dataset
Expand Down
Loading