Repository navigation
Figure.shift_origin: Improve docstrings, add inline examples and add type hints - #2879
Conversation
Co-authored-by: Michael Grund <[email protected]>
Co-authored-by: Yvonne Fröhlich <[email protected]>
|
Ping @GenericMappingTools/pygmt-maintainers Since we're working on the As mentioned in the updated docstrings:
So, by default Personally, I prefer to Here are gallery examples that use |
CodSpeed Performance ReportMerging #2879 will not alter performanceFalling back to comparing Summary
|
I'd prefer to explicitly use |
OK. Updated one instance in 7ece697. |
|
Only passing the value is nice because of shortness and data type. But I feel for the examples, it is better to keep the unit because:
|
Co-authored-by: Yvonne Fröhlich <[email protected]>
Co-authored-by: Yvonne Fröhlich <[email protected]>
Description of proposed changes
Preview: https://pygmt-dev--2879.org.readthedocs.build/en/2879/api/generated/pygmt.Figure.shift_origin.html