-
Notifications
You must be signed in to change notification settings - Fork 216
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
Allow passing arguments containing spaces into pygmt functions #1487
Commits on Sep 7, 2021
-
Replace spaces in arguments with octal code 040
Modifying build_arg_string function to replace blank space characters with octal code 040, and added a doctest to check various combinations with single and double quotes included.
Configuration menu - View commit details
-
Copy full SHA for b5ad405 - Browse repository at this point
Copy the full SHA b5ad405View commit details -
Remove workarounds for spaces in fig.subplot's autolabel and title args
Configuration menu - View commit details
-
Copy full SHA for 14648c2 - Browse repository at this point
Copy the full SHA 14648c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 924f439 - Browse repository at this point
Copy the full SHA 924f439View commit details -
Configuration menu - View commit details
-
Copy full SHA for 707745f - Browse repository at this point
Copy the full SHA 707745fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03e4308 - Browse repository at this point
Copy the full SHA 03e4308View commit details -
Remove workaround for spaces in fig.psconvert prefix
Doesn't work yet, as the filename will contain the 040 octal code, but committing to have the diff available for review.
Configuration menu - View commit details
-
Copy full SHA for 095449a - Browse repository at this point
Copy the full SHA 095449aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d81b80b - Browse repository at this point
Copy the full SHA d81b80bView commit details
Commits on Jan 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for dd849cb - Browse repository at this point
Copy the full SHA dd849cbView commit details -
Ensure spaces in pygmt.config arguments can work
Also added a regression test for FORMAT_DATE_MAP="o dd".
Configuration menu - View commit details
-
Copy full SHA for c29e632 - Browse repository at this point
Copy the full SHA c29e632View commit details
Commits on Jan 13, 2022
-
Manually handle prefix -F in psconvert
So that fig.savefig won't insert `\040` characters when saving filenames with spaces. Resolves problem mentioned in https://github.com/GenericMappingTools/pygmt/pull/1487/files#r703116544
Configuration menu - View commit details
-
Copy full SHA for 83c8c3b - Browse repository at this point
Copy the full SHA 83c8c3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ba8420 - Browse repository at this point
Copy the full SHA 2ba8420View commit details
Commits on Mar 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b58af8b - Browse repository at this point
Copy the full SHA b58af8bView commit details -
Handle PROJ4 strings with spaces
Instead of converting spaces to \040 in proj4 strings, just remove them directly. Added parametrized unit tests to basemap and grdproject to check that it works.
Configuration menu - View commit details
-
Copy full SHA for 3ec7727 - Browse repository at this point
Copy the full SHA 3ec7727View commit details -
Use Modifier Letter Colon instead of regular colon to fix WIndows tests
Configuration menu - View commit details
-
Copy full SHA for f19c41b - Browse repository at this point
Copy the full SHA f19c41bView commit details
Commits on Mar 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7a518a1 - Browse repository at this point
Copy the full SHA 7a518a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9774d5e - Browse repository at this point
Copy the full SHA 9774d5eView commit details
Commits on Mar 10, 2022
-
Refactor the whole function using a single loop
Co-Authored-By: Dongdong Tian <seisman.info@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ff40d27 - Browse repository at this point
Copy the full SHA ff40d27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36fdec5 - Browse repository at this point
Copy the full SHA 36fdec5View commit details
Commits on Mar 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6c399ba - Browse repository at this point
Copy the full SHA 6c399baView commit details
Commits on Mar 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4770396 - Browse repository at this point
Copy the full SHA 4770396View commit details
Commits on Mar 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 801ba01 - Browse repository at this point
Copy the full SHA 801ba01View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecb580e - Browse repository at this point
Copy the full SHA ecb580eView commit details -
Fix rst syntax in pygmt/helpers/utils.py
Co-Authored-By: Dongdong Tian <seisman.info@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a526d45 - Browse repository at this point
Copy the full SHA a526d45View commit details