Skip to content

Commit b6c4820

Browse files
seismanyvonnefroehlichmichaelgrundweiji14
authored
Implement Figure.pygmtlogo for the PyGMT logo (#4616)
Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com> Co-authored-by: Michael Grund <23025878+michaelgrund@users.noreply.github.com> Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
1 parent d3af335 commit b6c4820

14 files changed

Lines changed: 556 additions & 0 deletions

doc/api/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Plotting figure elements
3535
Figure.logo
3636
Figure.magnetic_rose
3737
Figure.paragraph
38+
Figure.pygmtlogo
3839
Figure.scalebar
3940
Figure.solar
4041
Figure.text

pygmt/figure.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from pygmt.src.plot import plot as _plot
3232
from pygmt.src.plot3d import plot3d as _plot3d
3333
from pygmt.src.psconvert import psconvert as _psconvert
34+
from pygmt.src.pygmtlogo import pygmtlogo as _pygmtlogo
3435
from pygmt.src.rose import rose as _rose
3536
from pygmt.src.scalebar import scalebar as _scalebar
3637
from pygmt.src.shift_origin import shift_origin as _shift_origin
@@ -466,6 +467,7 @@ def _repr_html_(self) -> str:
466467
plot = _plot
467468
plot3d = _plot3d
468469
psconvert = _psconvert
470+
pygmtlogo = _pygmtlogo
469471
rose = _rose
470472
scalebar = _scalebar
471473
set_panel = _set_panel

0 commit comments

Comments
 (0)