Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polish documentation #247

Merged
merged 1 commit into from
Dec 29, 2018
Merged

Polish documentation #247

merged 1 commit into from
Dec 29, 2018

Conversation

PaulWessel
Copy link
Member

Mostly fixes to documentation errors but also converted the -b modifiers +L +B to lower case +b +l (since all modifiers elsewhere are lower case). Implementation is backwards compatible, of course.

Mostly fixes to documentation errors but also converted the -b modifiers +L +B to lower case +b +l (since all modifiers elsewhere are lower case).  Implementation is backwards compatible of course.
@PaulWessel PaulWessel requested a review from a team December 29, 2018 21:11
@PaulWessel PaulWessel merged commit d5c023d into master Dec 29, 2018
@PaulWessel PaulWessel deleted the docpolishing branch December 29, 2018 22:37
obaney pushed a commit to obaney/gmt that referenced this pull request Aug 18, 2021
Wrapping the `subplot` function, in a `with` statement!
Original GMT `subplot` function can be found at
https://docs.generic-mapping-tools.org/6.1/subplot.html.
This is the 3rd attempt at implementing `subplot` in PyGMT,
with commits heavily re-adapted/cherry-picked from
GenericMappingTools/pygmt#412 and
GenericMappingTools/pygmt#427.

* Add fig.subplot and fig.set_panel to API docs
* Alias fixedlabel (A), clearance (C), verbose (V) for set_panel
* Turn fig.set_panel into a context manager
* Alias projection (J), region (R), verbose (V), x/yshift (X/Y) for subplot
* Allow for spaces in title and labels without needing double quotes

Mitigates against GenericMappingTools#247.

* Allow for list inputs into fig.set_panel(panel=...)
* Rename sca to set_panel and ax to panel
* Fix bug that prevented boolean to -A from working
* Add note that subplot panel is activated until further notice
* Validate subplot nrows/ncols and figsize/subsize argument inputs
* Revise advanced subplot layout subsection to use two subplots calls

Co-authored-by: Dongdong Tian <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant