Uh oh!
There was an error while loading. Please reload this page.
Add an example for different line styles - #604
Conversation
weiji14
left a comment
There was a problem hiding this comment.
Looks great! Just had to look up how to plot dashed lines yesterday, and this would have been a super useful reference!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
seisman
commented
Sep 14, 2020
How do I set the milestone and project? Is it for 0.2.x or 0.3.x? |
weiji14
commented
Sep 14, 2020
Go for 0.2.x, there's some bug fixes left to do and we'll most likely need a 0.2.1 release. |
seisman
commented
Oct 16, 2020
Here is a similar plot from matplotlib. In the matplotlib example, it's much easier to see the line style and the corresponding parameters. I plan to improve our "line styles" example, following the matplotlib one, with the parameters (e.g., |
weiji14
commented
Oct 16, 2020
Sounds like a good plan. We probably don't need 16 line examples though, just keep it minimal. Also, was just looking at the GMT.jl AGU gallery examples at https://www.generic-mapping-tools.org/GMT.jl/latest/gallery/tables/, looks like there's a lot of decorated arrows/curved line examples we can follow. |


Description of proposed changes
Add an example showing lines with different styles:
Preview:https://pygmt-crbc9dplm.vercel.app/gallery/line/linestyles.html
Address #493.
Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.