DOC: Add gallery example for magnetic rose#4381
Conversation
|
So far, I plot two magnetic roses in this gallery example into one map: (i) one for the default behavior of the @GenericMappingTools/pygmt-maintainers, before I continue here, what do you think? Should we go with plotting one large rose or have it like the gallery examples of |
|
I feel a large rose looks better. |
There was a problem hiding this comment.
Pull request overview
Adds a new PyGMT gallery example demonstrating how to place and customize a magnetic rose on a map using the high-level Figure.magnetic_rose method.
Changes:
- Introduces a new gallery example script for
Figure.magnetic_rose. - Demonstrates default placement plus a customized magnetic rose (position, size, pens, labels, declination/label).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Description of proposed changes
This aims to add a gallery example for adding a magnetic rose to a map using the newly implemented high-level method
Figure.pygmt.magnetic_rose.Preview:
https://pygmt-dev--4381.org.readthedocs.build/en/4381/gallery/embellishments/magnetic_rose.html
Guidelines
Slash Commands
You can write slash commands (
/command) in the first line of a comment to performspecific operations. Supported slash command is:
/format: automatically format and lint the code