Update the example for plotting data points of various colors #470
Labels
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
help wanted
Helping hands are appreciated
Milestone
Description of the problem
In the last plotting example in https://www.pygmt.org/latest/tutorials/plot.html,
color=data.depth_km / data.depth_km.max()
is passed toFigure.plot
because makecpt wasn't implemented at that time.Now we already can create a CPT file using
pygmt.makecpt
and we should rewrite the example usingpygmt.makecpt
.The text was updated successfully, but these errors were encountered: