Skip to content

Add a gallery example showing individual basic geometric symbols - #1211

Merged
seisman merged 9 commits into
masterfrom
gallery-basic-symbols
Apr 16, 2021
Merged

seisman merged 9 commits into
masterfrom
gallery-basic-symbols

Conversation

@michaelgrund

@michaelgrund michaelgrund commented Apr 14, 2021 •

Copy link
Copy Markdown
Member

Description of proposed changes

As mentioned in #1193 so far we have no gallery example in which all basic symbols are shown. This PR adds such an example to the gallery.

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to docstrings or tutorials.

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash commands are:

  • /format: automatically format and lint the code
  • /test-gmt-dev: run full tests on the latest GMT development version

As mentioned in #1193 so far we have no gallery example in which all basic symbols are shown. This PR adds such an example to the gallery.
@michaelgrund michaelgrund added the documentation Improvements or additions to documentation label Apr 14, 2021
@michaelgrund michaelgrund added this to the 0.4.0 milestone Apr 14, 2021
@michaelgrund michaelgrund mentioned this pull request Apr 14, 2021
5 tasks done
@core-man

Copy link
Copy Markdown
Member

Great, the example will be very helpful. I have one question: shall we use a for loop instead of plot those symbols individually? This will make the code much shorter, e.g., the Line styles example.

@michaelgrund

Copy link
Copy Markdown
Member Author

Great, the example will be very helpful. I have one question: shall we use a for loop instead of plot those symbols individually? This will make the code much shorter, e.g., the Line styles example.

Also thought about that, however, with all the 14 symbols I'm not sure if this would make the code more complex to read. What do the others think about it?

@seisman

seisman commented Apr 15, 2021

Copy link
Copy Markdown
Member

Great, the example will be very helpful. I have one question: shall we use a for loop instead of plot those symbols individually? This will make the code much shorter, e.g., the Line styles example.

I think the current script is good.

@seisman seisman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few tiny suggestions. Otherwise, the PR looks good to me.

@michaelgrund

Copy link
Copy Markdown
Member Author

Just a few tiny suggestions. Otherwise, the PR looks good to me.

Thanks for the review @seisman. Unfortunately, removed the units during the replcament actions.

@seisman seisman added the final review call This PR requires final review and approval from a second reviewer label Apr 16, 2021
@seisman
seisman requested review from core-man and maxrjones April 16, 2021 15:42
@core-man

Copy link
Copy Markdown
Member

This PR looks great to me. Only one minor comment above, but it's also okay for me to not use quotes.

@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Apr 16, 2021
@seisman seisman changed the title Create gallery example showing individual basic geometric symbols Add a gallery example showing individual basic geometric symbols Apr 16, 2021
@seisman
seisman merged commit 6fc9509 into master Apr 16, 2021
@seisman
seisman deleted the gallery-basic-symbols branch April 16, 2021 19:10
sixy6e pushed a commit to sixy6e/pygmt that referenced this pull request Dec 21, 2022

This branch was previously deployed

1 inactive deployment
Preview — 1ed266a9 Deployed Apr 15, 2021 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.

4 participants