Skip to content

Commit

Permalink
Format using blackdoc and fix flake8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Sep 7, 2021
1 parent 095449a commit d81b80b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pygmt/helpers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ def build_arg_string(kwargs):
... dict(
... B=["af", "WSne+tBlank Space"],
... F='+t"Empty Spaces"',
... l="'Void Space'"),
... l="'Void Space'",
... ),
... )
... )
-BWSne+tBlank\040Space -Baf -F+t"Empty\040\040Spaces" -l'Void\040Space'
Expand Down
2 changes: 1 addition & 1 deletion pygmt/tests/test_figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_figure_savefig_filename_with_spaces():
fig.basemap(region=[0, 1, 0, 1], projection="X1c/1c", frame=True)
with GMTTempFile(prefix="pygmt-filename with spaces", suffix=".png") as imgfile:
fig.savefig(imgfile.name)
assert not r"\040" in os.path.abspath(imgfile.name)
assert r"\040" not in os.path.abspath(imgfile.name)
assert os.path.exists(imgfile.name)


Expand Down

0 comments on commit d81b80b

Please sign in to comment.