Skip to content

Update the plotting example using the colormap generated by pygmt.makecpt#472

Merged
seisman merged 1 commit intomasterfrom
update-plot-example
Jun 1, 2020
Merged

Update the plotting example using the colormap generated by pygmt.makecpt#472
seisman merged 1 commit intomasterfrom
update-plot-example

Conversation

@seisman
Copy link
Member

@seisman seisman commented Jun 1, 2020

Description of proposed changes

Create a colormap using pygmt.makecpt and plot an colorbar using Figure.colorbar().

Preview the changes in this PR: https://pygmt-b5cq0nokj.now.sh/tutorials/plot.html

Fixes #470.

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to docstrings or tutorials.

@seisman seisman requested review from leouieda and weiji14 June 1, 2020 06:41
@seisman seisman added the documentation Improvements or additions to documentation label Jun 1, 2020
@seisman seisman added this to the 0.2.x milestone Jun 1, 2020
@seisman seisman merged commit 2bc6828 into master Jun 1, 2020
@seisman seisman deleted the update-plot-example branch June 1, 2020 07:30
@weiji14 weiji14 modified the milestones: 0.2.x, 0.1.x Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the example for plotting data points of various colors

2 participants