Skip to content

Commit

Permalink
Add baseline image
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Jan 6, 2025
1 parent a617468 commit e3f3640
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pygmt/src/paragraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ def _parse_option_f_upper(
Examples
--------
>>> _parse_font_angle_justify(None, None, None)
>>> _parse_font_angle_justify("10p", None, None)
>>> _parse_option_f_upper(None, None, None)
>>> _parse_option_f_upper("10p", None, None)
'+f10p'
>>> _parse_font_angle_justify(None, 45, None)
>>> _parse_option_f_upper(None, 45, None)
'+a45'
>>> _parse_font_angle_justify(None, None, "CM")
>>> _parse_option_f_upper(None, None, "CM")
'+jCM'
>>> _parse_font_angle_justify("10p,Helvetica-Bold", 45, "CM")
>>> _parse_option_f_upper("10p,Helvetica-Bold", 45, "CM")
'+f10p,Helvetica-Bold+a45+jCM'
"""
args = ((font, "+f"), (angle, "+a"), (justify, "+j"))
Expand Down
5 changes: 5 additions & 0 deletions pygmt/tests/baseline/test_paragraph.png.dvc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
outs:
- md5: c5b1df47e811475defb0db79e49cab3d
size: 27632
hash: md5
path: test_paragraph.png
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
outs:
- md5: 0df1eb71a781f0b8cc7c48be860dd321
size: 29109
hash: md5
path: test_paragraph_multiple_paragraphs_blankline.png
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
outs:
- md5: 167d4be24bca4e287b2056ecbfbb629a
size: 29076
hash: md5
path: test_paragraph_multiple_paragraphs_list.png

0 comments on commit e3f3640

Please sign in to comment.