Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 1, 2020

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