Skip to content

Add a gallery example for varying transparent points - #654

Merged
seisman merged 3 commits into
masterfrom
gallery/transparency
Oct 20, 2020
Merged

seisman merged 3 commits into
masterfrom
gallery/transparency

Conversation

@seisman

@seisman seisman commented Oct 17, 2020 •

Copy link
Copy Markdown
Member

Description of proposed changes

Add a gallery example for the new feature in #626.
image

Address #615.

Preview: https://pygmt-qmth2blje.vercel.app/gallery/plot/points-transparency.html

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 added the documentation Improvements or additions to documentation label Oct 17, 2020
@seisman seisman added this to the 0.2.1 milestone Oct 17, 2020
@seisman
seisman requested a review from weiji14 October 17, 2020 06:34
@seisman

seisman commented Oct 19, 2020

Copy link
Copy Markdown
Member Author

Ping @weiji14 for a review.

@weiji14

weiji14 commented Oct 19, 2020

Copy link
Copy Markdown
Member

Sorry, a bit busy right now, so a quick comment instead of a full review. Could we use a simpler straight line example instead of a sine curve here? I.e. like this image in our unit test (but maybe modify it slightly)

circle transparency

@seisman

seisman commented Oct 19, 2020

Copy link
Copy Markdown
Member Author

The example is rewritten to plot the figure below.
image

@seisman
seisman merged commit 060b723 into master Oct 20, 2020
@seisman
seisman deleted the gallery/transparency branch October 20, 2020 21:34

This branch was previously deployed

1 inactive deployment
Preview — 02f37b7b Deployed Oct 20, 2020 by vercel[bot]
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.

2 participants