GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Implement the frame='none' syntax for no frames by seisman · Pull Request #4404 · GenericMappingTools/pygmt Conversation
|
Summary of changed imagesThis is an auto-generated report of images that have changed on the DVC remote
Image diff(s)Report last updated at commit f34f44c |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Adds a Pythonic frame="none" option across PyGMT plotting APIs to request “no frame” behavior by translating it to GMT’s -B+n under the hood.
Changes:
frame="none" to the GMT -B+n syntax in the alias system (common -B handling).frame type annotations across affected plotting functions to include Literal["none"].Copilot reviewed 27 out of 27 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pygmt/alias.py | Implements the frame="none" → +n mapping for common -B handling. |
| pygmt/helpers/decorators.py | Updates common frame docstring snippet to document frame="none". |
| pygmt/src/basemap.py | Updates frame type hint to accept "none". |
| pygmt/src/coast.py | Updates frame type hint to accept "none". |
| pygmt/src/colorbar.py | Updates frame type hint and documents frame="none" behavior. |
| pygmt/src/contour.py | Updates frame type hint to accept "none". |
| pygmt/src/grdcontour.py | Updates frame type hint to accept "none". |
| pygmt/src/grdimage.py | Updates frame type hint to accept "none". |
| pygmt/src/grdview.py | Updates frame type hint to accept "none". |
| pygmt/src/histogram.py | Updates frame type hint to accept "none". |
| pygmt/src/image.py | Updates frame type hint to accept "none". |
| pygmt/src/legend.py | Updates frame type hint to accept "none". |
| pygmt/src/meca.py | Updates frame type hint to accept "none". |
| pygmt/src/plot.py | Updates frame type hint to accept "none". |
| pygmt/src/plot3d.py | Updates frame type hint to accept "none". |
| pygmt/src/rose.py | Updates frame type hint to accept "none". |
| pygmt/src/solar.py | Updates frame type hint to accept "none". |
| pygmt/src/subplot.py | Updates frame type hint to accept "none". |
| pygmt/src/ternary.py | Updates frame type hint to accept "none". |
| pygmt/src/text.py | Updates frame type hint to accept "none". |
| pygmt/src/tilemap.py | Updates frame type hint to accept "none". |
| pygmt/src/velo.py | Updates frame type hint to accept "none". |
| pygmt/src/wiggle.py | Updates frame type hint to accept "none". |
| pygmt/tests/test_alias_system.py | Adds coverage asserting frame="none" becomes -B+n via common-parameter aliasing. |
| pygmt/tests/test_basemap.py | Adds an image-comparison test covering frame="none" in basemap and colorbar. |
| pygmt/tests/baseline/test_basemap_frame_none.png.dvc | Adds the baseline artifact metadata for the new image test. |
| examples/gallery/maps/choropleth_map.py | Updates an example to use frame="none" instead of raw "+n". |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@GenericMappingTools/pygmt-maintainers Please give this PR final reviews. Plan to merge it in three days. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Pythonic implemention of theframe="+n" setting
There was an error while loading. Please reload this page.