-
Notifications
You must be signed in to change notification settings - Fork 245
pygmt.config: Correctly resetting to default values that contain whitespaces #2331
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -72,8 +72,13 @@ def test_config_format_date_map(): | |
|
|
||
| Note the space in 'o dd', this acts as a regression test for | ||
| https://github.com/GenericMappingTools/pygmt/issues/247. | ||
|
|
||
| Setting FORMAT_DATE_MAP="yyyy mm dd" as a regression test for | ||
| https://github.com/GenericMappingTools/pygmt/issues/2298. | ||
| """ | ||
| fig = Figure() | ||
| # Set the FORMAT_DATE_MAP to "yyyy mm dd" that contains whitespaces. | ||
| config(FORMAT_DATE_MAP="yyyy mm dd") | ||
|
Comment on lines
+80
to
+81
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is a test being added to use this whitespace-containing
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yes, please see #2298 (comment) |
||
| with config(FORMAT_DATE_MAP="o dd"): | ||
| fig.basemap( | ||
| region=["1969-7-21T", "1969-7-23T", 0, 1], | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.