Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pygmt/clib/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
DTYPES = DTYPES_NUMERIC | DTYPES_TEXT

# Dictionary for storing the values of GMT constants.
GMT_CONSTANTS = {}
GMT_CONSTANTS: dict[str, int] = {}

# Load the GMT library outside the Session class to avoid repeated loading.
_libgmt = load_libgmt()
Expand Down
2 changes: 1 addition & 1 deletion pygmt/figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _get_default_display_method() -> Literal["external", "notebook", "none"]:

# A registry of all figures that have had "show" called in this session.
# This is needed for the sphinx-gallery scraper in pygmt/sphinx_gallery.py
SHOWED_FIGURES = []
SHOWED_FIGURES: list["Figure"] = []
# Configurations for figure display.
SHOW_CONFIG = {
"method": _get_default_display_method(), # The image preview display method.
Expand Down
Loading